Re: inquiry - Mailing list pgsql-hackers

From Tom Lane
Subject Re: inquiry
Date
Msg-id 11480.1048776780@sss.pgh.pa.us
Whole thread Raw
In response to Re: inquiry  ("Jinqiang Han" <postgresql@db.pku.edu.cn>)
List pgsql-hackers
"Jinqiang Han" <postgresql@db.pku.edu.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG: Vacuum Analyze - datumGetSize: Invalid typLen 0
Next
From: Tom Lane
Date:
Subject: Re: pgtypeslib/timestamp problem