| От | Tom Lane |
|---|---|
| Тема | Regress tests reveal *serious* psql bug |
| Дата | |
| Msg-id | 24650.947391688@sss.pgh.pa.us обсуждение исходный текст |
| Ответы |
Re: Regress tests reveal *serious* psql bug
|
| Список | pgsql-hackers |
Now that we can run the regress tests using the new psql,
I was dismayed to discover that the arrays regress test
fails with it. The perfectly valid query
SELECT arrtest.a[1:3], arrtest.b[1:1][1:2][1:2], arrtest.c[1:2], arrtest.d[1:1][1:2] FROM
arrtest;
fails with
ERROR: parser: parse error at or near "]"
Turning on postmaster -d reveals that what is arriving at
the backend is
SELECT arrtest.a[1], arrtest.b[1][1][1], arrtest.c[1], arrtest.d[1][1]] FROM arrtest
Needless to say, this transformation of the query
is several miles to the south of acceptable.
Over to you, Peter...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера