agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Gustavo Lopes <contratempo@gmail.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: libpq on windows
Date: Sat, 21 May 2005 00:43:56 +0100
Message-ID: <2b5c484b0505201643d628432@mail.gmail.com> (raw)
In-Reply-To: <27068.1116615085@sss.pgh.pa.us>
References: <2b5c484b05051906526f8bb577@mail.gmail.com>
<20704.202.47.227.25.1116570741.squirrel@202.47.227.25>
<2b5c484b05052006206c301de@mail.gmail.com>
<2b5c484b05052009545a310cd7@mail.gmail.com>
<27068.1116615085@sss.pgh.pa.us>
Is there any easy (ie, no C postgres functions) way to generate
multi-line error messages so that I can explore that possibility?
Gustavo Lopes
On 20/05/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Gustavo Lopes <contratempo@gmail.com> writes:
> > Actually it seems the hints are not the problem. I see no pattern now.
> > For instance, if table "j" doesn't exist, "drop table j" is ok but not
> > "drop table".
>
> Well, the latter generates a syntax complaint:
>
> regression=# drop table j;
> ERROR: table "j" does not exist
> regression=# drop table ;
> ERROR: syntax error at or near ";" at character 12
> LINE 1: drop table ;
> ^
> regression=#
>
> Maybe the pattern is "any multi-line error message causes a problem"?
>
> regards, tom lane
>
view thread (26+ messages) latest in thread
Message-ID: <2b5c484b0505201643d628432@mail.gmail.com>
Permalink: ../2b5c484b0505201643d628432@mail.gmail.com/
Also on: postgresql.org/message-id/2b5c484b0505201643d628432@mail.gmail.com
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: contratempo@gmail.com
Subject: Re: libpq on windows
In-Reply-To: <2b5c484b0505201643d628432@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox