Re: does the executemany() limitation with result sets apply to INSERT..RETURNING ?

Michael Bayer <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Mar 2, 2009, at 8:29 PM, James Henstridge wrote:

>
> Note that psycopg doesn't parse the SQL statements: it just sends them
> through to PostgreSQL.  The response from PostgreSQL then indicates
> whether the statement produced a result set.
>
> So you shouldn't really expect psycopg to exhibit special behaviour
> for particular statements.

I wasn't expecting that at all.   I would note the structure of the  
result returned using 2.0.9's behavior with this specifc test case is  
completely different from that of 2.0.8, so psycopg2 is having an  
effect (or was) on what is returned.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.