pganalyze / pg_query_go

Go library to parse and normalize SQL queries using the PostgreSQL query parser
BSD 3-Clause "New" or "Revised" License
663 stars 79 forks source link

pg_config.h: NetBSD support #72

Closed bsiegert closed 1 year ago

bsiegert commented 1 year ago

NetBSD has strchrnul too but with a slightly different prototype. Without this change, there is a compiler error for a conflicting declaration.

lfittl commented 1 year ago

Thanks for the contribution!

We should probably make that change directly in libpg_query - do you want to open a PR there? (in the Makefile that generates the pg_config.h file)

bsiegert commented 1 year ago

Sure, can do!

msepga commented 1 year ago

Merged as part of #69. Thanks!