-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability To Increase NAMEDATALEN #258
Comments
Can you share more about the use case where this is helpful? Since Postgres itself has this limit, we match that in
Correct, today there isn't a way to do this, though it may be possible to support a define here in the future (not sure if there is a good way to have that be passed down from |
We use
Agreed, I think
My thought was to… #ifndef NAMEDATALEN
#define NAMEDATALEN 64
#endif (2) Then, users could build CGO_CFLAGS="-DNAMEDATALEN=128" go build ... Go merges the |
Hello, we use
libpg_query
viapg_query_go
. We are interested in increasing the value of NAMEDATALEN from its default value of 64.Is there a way to increase the value of
NAMEDATELEN
vialibpg_query
orpg_query_go
? (As far as I can tell, you can’t overrideNAMEDATALEN
e.g. via pg_query_go’s cgo CFLAGS without first modifying the underlying source inlibpg_query
, but maybe I’m missing something).What would be the best way to go about adding support for configurable
NAMEDATALEN
values?The text was updated successfully, but these errors were encountered: