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

REASSIGN OWNED lacks support for FDWs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: REASSIGN OWNED lacks support for FDWs
Date: 2012-02-15 17:58:01
Message-ID: 29096.1329328681@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
As per http://archives.postgresql.org/pgsql-general/2012-02/msg00304.php
there is no switch case in shdepReassignOwned for foreign data wrappers.

The obvious short-term answer (and probably the only back-patchable one)
is to add a case for that object type.  But after all the refactoring
that's been done in the general area of this type of command, I'm a bit
surprised that shdepReassignOwned still looks like this.  Can't we merge
this knowledge into someplace where it doesn't have to be maintained
separately?

			regards, tom lane

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2012-02-15 18:13:37
Subject: Re: Different gettext domain needed for error context
Previous:From: Peter EisentrautDate: 2012-02-15 17:50:41
Subject: pg_upgrade message

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