Document Upper Limit for NAMEDATELEN in pgsql 9.5+
От | Kevin Day |
---|---|
Тема | Document Upper Limit for NAMEDATELEN in pgsql 9.5+ |
Дата | |
Msg-id | CABOug-ugKe=SZRma+SW4=L6H_kkqZ6F4dB8H=VCOEzuN4-Mm4g@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Document Upper Limit for NAMEDATELEN in pgsql 9.5+
|
Список | pgsql-docs |
Postgresql 9.5+ may now fail to compile if NAMEDATELEN has been set absurdly large (In my case, 384).
The file src/backend/utils/adt/levenshtein.c does a static assert on "NAMEDATALEN <= MAX_LEVENSHTEIN_STRLEN" with MAX_LEVENSHTEIN_STRLEN currently set to 255.When using a gcc version that does not support static asserts, the error message looks like:
- "levenshtein.c:104: error: negative width in bit-field 'static_assert_failure'"
- "levenshtein.c:104: error: negative width in bit-field 'static_assert_failure'"
- src/include/pg_config_manual.h
- http://www.postgresql.org/docs/9.5/static/sql-syntax-lexical.html
- http://www.postgresql.org/docs/9.5/static/runtime-config-preset.html
- https://wiki.postgresql.org/wiki/Todo
- src/interfaces/ecpg/include/sqlda-native.h
--
Kevin Day
В списке pgsql-docs по дате отправления: