Re: I want to send comments to the backend!
От
Bruce Momjian
Тема
Re: I want to send comments to the backend!
Дата
Msg-id
200303201612.h2KGCJc06432@candle.pha.pa.us
Ответ на
Re: I want to send comments to the backend! (Tom Lane)
Список
Дерево обсуждения
I want to send comments to the backend! Gerhard Häring <haering_postgresql@gmx.de>
Re: I want to send comments to the backend! "D'Arcy J.M. Cain" <darcy@druid.net>
Re: I want to send comments to the backend! Gerhard Häring <lists@ghaering.de>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Gerhard Häring <lists@ghaering.de>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Steve Howe <howe@carcass.dhs.org>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Tom Lane <tgl@sss.pgh.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Bruce Momjian <pgman@candle.pha.pa.us>
Re: I want to send comments to the backend! Greg Stark <gsstark@mit.edu>
Re: I want to send comments to the backend! Gerhard Häring<lists+dated+1048607365.9fec41@ghaering.de>
Tom Lane wrote: > Gerhard Häring writes: > >> 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? > > > res = PQexec(conn, "-- foobar"); > > if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) > > Because a comment isn't an SQL command. I forget what the result status > is in this case, but COMMAND_OK ain't it. It returns PGRES_NONFATAL_ERROR. Why should this be an error? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-interfaces по дате отправления