Re: sintax error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sintax error
Дата
Msg-id 22663.1334154546@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: sintax error  (kevalshah <keval.shah29@gmail.com>)
Список pgsql-sql
kevalshah <keval.shah29@gmail.com> writes:
> At present whenever there is any error in syntax of fired query 
> i get error message in terms of charcter "at char 53 "
> I also would like to have line no: from psql terminal..

Umm ... any reasonably recent version of psql will show syntax errors
like this:

regression=# select 1/ from foo;
ERROR:  syntax error at or near "from"
LINE 1: select 1/ from foo;                 ^

If you're using something so old that it doesn't do that, the answer
is to update.
        regards, tom lane


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

Предыдущее
От: kevalshah
Дата:
Сообщение: Re: sintax error
Следующее
От: yeison garcia
Дата:
Сообщение: Re: Pregunta acerca de la función COPY de POSTGRES