BUG #14738: ALTER SERVER for foregin servers not working

From: fcs1(at)poczta(dot)onet(dot)pl
To: pgsql-bugs(at)postgresql(dot)org
Cc: fcs1(at)poczta(dot)onet(dot)pl
Subject: BUG #14738: ALTER SERVER for foregin servers not working
Date: 2017-07-10 11:39:17
Message-ID: 20170710113917.7727.10247@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 14738
Logged by: Michal L
Email address: fcs1(at)poczta(dot)onet(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message fbd 2017-07-10 13:16:48 BUG #14739: Wrong message when unique contraint fail
Previous Message jothiprasath216 2017-07-10 04:52:42 Re: BUG #14736: Crash on postgresql server by autovacuum worker process

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2017-07-10 12:08:13 Double shared memory allocation for SLRU LWLocks
Previous Message Ashutosh Bapat 2017-07-10 11:35:39 Re: paths in partitions of a dummy partitioned table