Re: Foreign server script error - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Foreign server script error
Date
Msg-id 1332521866.3142.95.camel@localhost.localdomain
Whole thread Raw
In response to Foreign server script error  (Bartosz Dmytrak <bdmytrak@gmail.com>)
List pgadmin-support
On Fri, 2012-03-23 at 11:36 +0100, Bartosz Dmytrak wrote:
> Hi,
> I think there is another bug in foreign server script:
> pgAdmin generates script like this one:
> -- Server: "kpi@localhost"
> 
> -- DROP SERVER "kpi@localhost";
> 
> CREATE SERVER kpi@localhost
>    FOREIGN DATA WRAPPER "myWrapper"
>   OPTIONS (host 'localhost',dbname 'kpi',port '5432');
> ALTER SERVER kpi@localhost
>   OWNER TO postgres;
> 
> but should use server name quotation eg.
> ALTER SERVER "kpi@localhost"
> 

You're right, this is fixed.


-- 
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com



pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Creating relationship links in PostgreSQL via pgAdmin
Next
From: Colin Beckingham
Date:
Subject: 1.15 dev: cut and paste