From: fcs1@poczta.onet.pl
To: pgsql-bugs@postgresql.org
Cc: fcs1@poczta.onet.pl
Subject: BUG #14738: ALTER SERVER for foregin servers not working
Date: Mon, 10 Jul 2017 11:39:17 +0000
Message-ID: <20170710113917.7727.10247@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14738
Logged by: Michal L
Email address: fcs1@poczta.onet.pl
PostgreSQL version: 9.4.1
Operating system: Windows 7 x64 Pro
Description:
Hello,
Command like this doesn't take effect:
ALTER SERVER srw_egib_1
OPTIONS (
SET host 'localhost',
SET port '5432',
SET dbname 'gml2m1');
It changes definition of this server but tables connected to it are still
connected to previous definition of this server, for example:
CREATE SERVER srw_egib_1
FOREIGN DATA WRAPPER postgres_fdw
OPTIONS (
host 'localhost',
port '5432',
dbname 'gml2');
It seams to take effect when I disconnect to the database and connect again.
I tested it on PgAdmin.
Regards
Michal
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: fcs1@poczta.onet.pl
Subject: Re: BUG #14738: ALTER SERVER for foregin servers not working
In-Reply-To: <20170710113917.7727.10247@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox