Re: Add schema-qualified relnames in constraint error messages.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Add schema-qualified relnames in constraint error messages.
Дата
Msg-id CAKFQuwY6Zg-LKZOTh4zVRoU2SbiCR6DcmSA7nJ6VaCbS4CZaTw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add schema-qualified relnames in constraint error messages.  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Thu, Feb 11, 2016 at 10:53 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> most recent error in verbose mode, without making a permanent session
> state change.  Something like
>
> regression=# insert into bar values(1);
> ERROR:  insert or update on table "bar" violates foreign key constraint "bar_f1_fkey"
> DETAIL:  Key (f1)=(1) is not present in table "foo".
 
> regression=# \saywhat

​Maybe its too cute but I'll give a +1 for this alone.

David J.
 

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

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Clock with Adaptive Replacement
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Support for N synchronous standby servers - take 2