pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Gerhard Häring <lists@ghaering.de>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: I want to send comments to the backend!
Date: Thu, 20 Mar 2003 14:00:22 -0500
Message-ID: <25200.1048186822@sss.pgh.pa.us> (raw)
In-Reply-To: <200303201848.h2KImfn29586@candle.pha.pa.us>
References: <200303201848.h2KImfn29586@candle.pha.pa.us>

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> generalize it to understand about comments.  Right now seems to be a
>> fine time to think about this, in fact, given that we're hacking the
>> protocol anyway.

> Yes.

On third thought, though, it would be really trivial for
pg_exec_query_string to call NullCommand and fall out early if
pg_parse_query returns an empty list; it'd take one extra test for NIL,
which would be more than compensated for if we got rid of the strspn
test.  So maybe changing the backend is the best answer after all.

			regards, tom lane



view thread (25+ messages)  latest in thread

Message-ID: <25200.1048186822@sss.pgh.pa.us>
Permalink:  ../25200.1048186822@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25200.1048186822@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, lists@ghaering.de
  Subject: Re: I want to send comments to the backend!
  In-Reply-To: <25200.1048186822@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox