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

Re: psql's is_select_command is naive

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql's is_select_command is naive
Date: 2010-05-27 02:19:46
Message-ID: 20100527021946.GJ21875@tamriel.snowman.net (view raw or flat)
Thread:
Lists: pgsql-hackers
* Robert Haas (robertmhaas(at)gmail(dot)com) wrote:
> For now, we can probably get by with just adding those to the list of
> things it checks for.  But I wonder what we'll do about this if we
> ever get CTEs for insert/update/delete statements...  you'd have to
> parse the whole darn thing to figure out whether it was WITH...SELECT
> or WITH...INSERT or WITH...INSERT...RETURNING.

Would be nice if it could just ask the backend if it's planning to send
back some data. :)

	Stephen

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2010-05-27 02:21:13
Subject: Re: libpq should not be using SSL_CTX_set_client_cert_cb
Previous:From: Tatsuo IshiiDate: 2010-05-27 02:16:58
Subject: Re: exporting raw parser

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