From: | Gustavo Lopes <contratempo(at)gmail(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: libpq on windows |
Date: | 2005-05-20 23:43:56 |
Message-ID: | 2b5c484b0505201643d628432@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Gustavo Lopes <contratempo(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2005-05-21 19:26:46 | Version 1.42 of DBD::Pg released |
Previous Message | Tom Lane | 2005-05-20 18:51:25 | Re: libpq on windows |