Re: Spurious errors relating to escaped single quotes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Spurious errors relating to escaped single quotes
Дата
Msg-id 1310661849-sup-6899@alvh.no-ip.org
обсуждение исходный текст
Ответ на Spurious errors relating to escaped single quotes  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Ответы Re: Spurious errors relating to escaped single quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Excerpts from Gavin Flower's message of jue jul 14 07:45:00 -0400 2011:
> Hi,
>
> Using pg 9.1beta3, I was found that running a function generated an
> error relating to escaped single quotes, yet still produced the answer I
> expected!

The errors are not spurious.  The function doesn't exist now because it
didn't get created.  What happened is that now your inserts are going
into the parent table, not the partitions as your script intended.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Spurious errors relating to escaped single quotes
Следующее
От: Aleksey Tsalolikhin
Дата:
Сообщение: Re: BUG #6117: psql -c does not work as expected. a documentation bug? a program bug?