From: | Gerhard Häring <lists(at)ghaering(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: I want to send comments to the backend! |
Date: | 2003-03-20 16:00:48 |
Message-ID: | 3E79E5B0.4020703@ghaering.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>
>>Gerhard Häring wrote:
>>
>>>Why can't I send comments like
>>>-- a comment
>>>to the backend using libpq? Are these only handled in psql? Please allow to
>>>send comments to the backend, as I really need them.
>
>
>>The backend should handle them fine. Can you give us pgsql version and
>>an example.
>
> I think he's complaining that psql strips out the comments before
> sending stuff to the backend. Unfortunately, most of the world probably
> considers that a feature, not a bug.
Me too. The problem is I use *libpq*. My question was badly asked. I
don't care wether the comments end up on the backend, but I want to be
able to send comments to libpq.
I'd still expect the backend would handle comments, though, should I
chose to implement the network protocol myself, without using libpq.
> I'm quite certain that libpq does not strip comments, so the complaint
> isn't strictly accurate...
Then why does the attached program not work? Sorry for sending it twice,
my first post is stalled because of an overzealeous TMDA proxy on my side.
-- Gerhard
Attachment | Content-Type | Size |
---|---|---|
comment_test.c | text/plain | 2.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-03-20 16:03:57 | Re: [INTERFACES] Roadmap for FE/BE protocol redesign |
Previous Message | Gerhard Häring | 2003-03-20 15:55:39 | Re: I want to send comments to the backend! |