Re: bad error message

Поиск
Список
Период
Сортировка
От Jonathan Vanasco
Тема Re: bad error message
Дата
Msg-id 482E9138-5678-4BC8-AAFF-F3F4491116F0@2xlp.com
обсуждение исходный текст
Ответ на Re: bad error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Oct 12, 2006, at 7:39 PM, Tom Lane wrote:

> That's not necessarily all that much help, if you've got so many FK
> constraints in your command that you don't know exactly where to look.
> I think what you're really wishing for is an error cursor position.
> 8.2 has the infrastructure for this, eg
>
> regression=# create table foo (a int, b int, c int);
> CREATE TABLE
> regression=# select a, b, q from foo;
> ERROR:  column "q" does not exist
> LINE 1: select a, b, q from foo;
>                      ^
> regression=#
>
> but unfortunately the facility hasn't been extended to foreign key
> constraint clauses in particular :-(.  Maybe next time


I'll be glad  if  it makes it into a future release.  It would be a
GREAT feature.

Thats for the info on the cursor position.  thats a nice update in
the .2 branch.

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: more anti-postgresql FUD
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Postgresql guidelines for version numbering