Skip to content

15-4.2.4

Compare
Choose a tag to compare
@msepga msepga released this 21 Dec 01:36
db39825
  • Scanner: Add token ASCII_36 ("$") to support queries like "SELECT $identifier" #211, #219
    • Whilst these queries are not valid SQL and would fail parsing, this token can show up when using pg_query_scan or pg_query_split_with_scanner directly
  • Normalize: Fix incorrect type cast #223
  • Deparser:
    • Fix some BooleanTest cases #206
    • Fix ALTER TABLE ... ENABLE TRIGGER ALL #222
    • Add parens around type casts in IndexElem #214
    • Treat type casts in func_expr_windowless as functions #214
  • Support changing parse mode and config settings affecting the parser #216
    • Alternate parse modes are useful for parsing PL/pgSQL expressions, as well as type names
    • Additionally, you can now change config settings that affect parsing, like standard_conforming_strings
    • To pass options, use the new methods ending in _opts, e.g. pg_query_parse_opts
❯ shasum -a 256 libpg_query-15-4.2.4.*
d0ace0bff40e5daa99e32753a22a7558f9b2207e89260f00171fc50723b831dd  libpg_query-15-4.2.4.tar.gz
dcd43e04ac56db018b7553f0f0d3506be45dd993ae727f7c190a88589573807c  libpg_query-15-4.2.4.zip