Skip site navigation (1) Skip section navigation (2)

Re: libpq on windows

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 (view raw or flat)
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
>

In response to

Responses

pgsql-interfaces by date

Next:From: Greg Sabino MullaneDate: 2005-05-21 19:26:46
Subject: Version 1.42 of DBD::Pg released
Previous:From: Tom LaneDate: 2005-05-20 18:51:25
Subject: Re: libpq on windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group