pganalyze / libpg_query

C library for accessing the PostgreSQL parser outside of the server environment
BSD 3-Clause "New" or "Revised" License
1.21k stars 182 forks source link

Move deparser to dedicated file without pg_query dependencies #192

Closed yrashk closed 1 year ago

yrashk commented 1 year ago

This enables external projects that are interested to work with a raw parsetree to use the libpg_query deparser, without pulling in the main pg_query headers.

Fixes #180.


Supersedes #183

lfittl commented 1 year ago

@yrashk Sorry for the delay (last week got busier than expected with pgcon) -- if you could rebase this one more time (just merged a smaller change from https://github.com/pganalyze/libpg_query/pull/193 that was conflicting), I promise that we'll get this done now :)

yrashk commented 1 year ago

Rebased

yrashk commented 1 year ago

Bump