X-Original-To: pgsql-interfaces@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 9819E4762D7 for ; Thu, 20 Mar 2003 10:47:32 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2KFlUub023656; Thu, 20 Mar 2003 10:47:30 -0500 (EST) To: Bruce Momjian Cc: =?ISO-8859-1?Q?Gerhard_H=E4ring?= , pgsql-interfaces@postgresql.org Subject: Re: I want to send comments to the backend! In-reply-to: <200303201522.h2KFMpp24991@candle.pha.pa.us> References: <200303201522.h2KFMpp24991@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 20 Mar 2003 10:22:51 -0500" Date: Thu, 20 Mar 2003 10:47:29 -0500 Message-ID: <23655.1048175249@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/93 X-Sequence-Number: 3842 Bruce Momjian 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. I'm quite certain that libpq does not strip comments, so the complaint isn't strictly accurate... regards, tom lane