Re: libpq on windows - Mailing list pgsql-interfaces

FromGustavo Lopes
SubjectRe: libpq on windows
Date
Msg-id[email protected]
Whole thread Raw
In response toRe: libpq on windows  (Tom Lane <[email protected]>)
ResponsesRe: libpq on windows
Listpgsql-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 <[email protected]> wrote:
> Gustavo Lopes <[email protected]> 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