Re: psql, remove include of psqlscan.c

Поиск
Список
Период
Сортировка
От Karl O. Pinc
Тема Re: psql, remove include of psqlscan.c
Дата
Msg-id 1348776376.9060.0@mofo
обсуждение исходный текст
Ответ на Re: psql, remove include of psqlscan.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 09/27/2012 02:28:49 PM, Tom Lane wrote:
> "Karl O. Pinc" <kop@meme.com> writes:

> > What I really _want_ is to be able get a bit string of many
> > sql statements from the user and return the results, statuses,
> > etc. of executing each statement.  Just what psql does when,
> > say, fed a file from stdin.
>
> Just as a note --- I believe you can get that result today with
> PQsendQuery followed by a PQgetResult loop.  There's no need to
> provide an API that splits the string first.

Ah.  *sigh*  I should pay better attention.  Sorry for the
distraction.


Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."                -- Robert A. Heinlein




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Oid registry
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: autovacuum stress-testing our system