Skip site navigation (1) Skip section navigation (2)

Re: psql, remove include of psqlscan.c

From: "Karl O(dot) Pinc" <kop(at)meme(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql, remove include of psqlscan.c
Date: 2012-09-27 20:06:16
Message-ID: 1348776376.9060.0@mofo (view raw or flat)
Thread:
Lists: pgsql-hackers
On 09/27/2012 02:28:49 PM, Tom Lane wrote:
> "Karl O. Pinc" <kop(at)meme(dot)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(at)meme(dot)com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein



In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2012-09-27 20:06:56
Subject: Re: autovacuum stress-testing our system
Previous:From: Robert HaasDate: 2012-09-27 20:02:45
Subject: Re: Oid registry

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group