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

Does this project depend on protobuf? #238

Closed kovmir closed 9 months ago

kovmir commented 9 months ago

Is protobuf-c a dependency of this project?

lfittl commented 9 months ago

Yes, Protobuf is utilized as a way to translate the internal C structs that Postgres maintains into something that can be easily consumed by other programming languages in a structured form.

Note that technically we bundle protobuf-c as part of the source code, so you don't need to have it installed on the system.