lelit/pglast

Support PG 15

Closed this issue · 5 comments

lelit commented

It seems likely that libpg_query will cover PG 15 sooner than expected...

lelit commented

The new v5 branch uses the in development libpg_query PG 15 .

df7cb commented

There's a slight regression in the statements renderer in v5 (compared to v3, did not try v4):

>>> pglast.prettify('create cast (foo as bar) without function')
'CREATE CAST (foo AS bar)WITHOUT FUNCTION'

Previously, there was a space before the WITHOUT.

lelit commented

Thanks for reporting, and yes, it affects v4 as well.

lelit commented

I fixed that regression (and a few other similar ones) and released v4.1 and v5.0.dev0.

lelit commented

This is v5.0 final.