Re: PQgetResultSet Problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQgetResultSet Problem
Дата
Msg-id 20346.1061270467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQgetResultSet Problem  (Deepa K <kdeepa@midascomm.com>)
Список pgsql-general
Deepa K <kdeepa@midascomm.com> writes:
> But we run a set of commands in psql command line, if any one of query
> fails, other commands gets executed. Why this is possible in psql and
> not using application.

psql splits your input at semicolons, and ships each command to the
backend in a separate PQexec.  You're wasting your time suggesting
that we should change this behavior in either PQexec or psql --- we'd
break far too many applications for far too little gain.

            regards, tom lane

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

Предыдущее
От: Deepa K
Дата:
Сообщение: Re: PQgetResultSet Problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Why lower's not accept an AS declaration ?