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

Parser CFLAGS: Build with -std=gnu99 to ensure CentOS compatibility #36

Closed lfittl closed 3 years ago

lfittl commented 3 years ago

Go+GCC on CentOS requires explicitly setting the version of C99 that we want to build with.

"gnu99" seems like it comes closest to what Postgres itself builds with.