Re: libpq on windows - Mailing list pgsql-interfaces

From Gustavo Lopes
Subject Re: libpq on windows
Date
Msg-id 2b5c484b0505201643d628432@mail.gmail.com
Whole thread Raw
In response to Re: libpq on windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: libpq on windows  (Volkan YAZICI <volkan.yazici@gmail.com>)
List 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@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
>


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq on windows
Next
From: "Greg Sabino Mullane"
Date:
Subject: Version 1.42 of DBD::Pg released