Re: inquiry

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jinqiang Han" <postgresql(at)db(dot)pku(dot)edu(dot)cn>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: inquiry
Date: 2003-03-27 14:53:00
Message-ID: 11480.1048776780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jinqiang Han" <postgresql(at)db(dot)pku(dot)edu(dot)cn> writes:
> hi,Bruce Momjian
> I think you are wrong. multiple query in a string, such as ""SELECT;SELECT" will invoke pg_execute_query_string twice, It won't generate two parsetree.

Try it in something other than psql. psql splits such a string into
multiple submissions to the backend --- but other interfaces don't.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-03-27 14:59:52 Re: pgtypeslib/timestamp problem
Previous Message Tom Lane 2003-03-27 14:48:34 Re: BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0