| От | Tom Lane |
|---|---|
| Тема | Re: SQL statement is too long |
| Дата | |
| Msg-id | 9908.1069398097@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | SQL statement is too long ("Miia Leino" <miia.leino@zeerio.com>) |
| Список | pgsql-novice |
"Miia Leino" <miia.leino@zeerio.com> writes:
> I'm using PostgreSQL 7.2.3-2. Now with one insert that is trying to put
> long string to the text typed field postgre is giving an error SQL
> statement is too long.
The backend limit on SQL statement length was long gone in 7.2. But
IIRC there were still some client libraries that hadn't gotten the word,
and would "helpfully" complain instead of sending what had once been an
overlength query.
The short answer is to update your Postgres installation, client
libraries as well as server. 7.2.3 is pretty long in the tooth anyway.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера