Convert NEXTVAL and CURRVAL pseudocolumns to function calls

Proprietary

Replaces Oracle's seq.NEXTVAL and seq.CURRVAL with PostgreSQL's NEXTVAL('seq') and CURRVAL('seq'), in queries and in column defaults.

org.openrewrite.sql.ConvertSequencePseudocolumns
mod run . --recipe=org.openrewrite.sql.ConvertSequencePseudocolumns

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.