Re: EXECUTE status (was Re: [ODBC] About server side prepare)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Date: 2002-12-20 17:46:39
Message-ID: 200212201746.gBKHkeR18222@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

Tom Lane wrote:
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> > Good catch. Hmm this may be a serious problem because
> > there's no way to know the row count when we use EXECUTE
> > statements.
>
> I wonder if EXECUTE could/should be made to return the appropriate
> command status string for the executed statement, instead of "EXECUTE".

I think it should return "EXECUTE" with the counts from the commands.
Does that make sense?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-12-20 17:56:55 Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Previous Message Tom Lane 2002-12-20 14:36:55 EXECUTE status (was Re: [ODBC] About server side prepare)

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2002-12-20 17:56:55 Re: EXECUTE status (was Re: [ODBC] About server side prepare)
Previous Message Tom Lane 2002-12-20 14:36:55 EXECUTE status (was Re: [ODBC] About server side prepare)