OCLASS_FOREIGN_TABLE support is incomplete

Поиск
Список
Период
Сортировка
Искать

OCLASS_FOREIGN_TABLE support is incomplete

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
While poking at the extensions patch I noticed that doDeletion() and
getObjectDescription() both seem to be missing cases for
OCLASS_FOREIGN_TABLE.  Surely this is broken.
		regards, tom lane

Re: OCLASS_FOREIGN_TABLE support is incomplete

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Fri, Feb 4, 2011 at 2:44 PM, Tom Lane  wrote:
> While poking at the extensions patch I noticed that doDeletion() and
> getObjectDescription() both seem to be missing cases for
> OCLASS_FOREIGN_TABLE.  Surely this is broken.

I'll look into fixing this.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: OCLASS_FOREIGN_TABLE support is incomplete

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Fri, Feb 4, 2011 at 2:46 PM, Robert Haas  wrote:
> On Fri, Feb 4, 2011 at 2:44 PM, Tom Lane  wrote:
>> While poking at the extensions patch I noticed that doDeletion() and
>> getObjectDescription() both seem to be missing cases for
>> OCLASS_FOREIGN_TABLE.  Surely this is broken.
>
> I'll look into fixing this.

Err... wait.  Actually, I think the right thing to do might be to
remove OCLASS_FOREIGN_TABLE altogether.  I don't think it's actually
used for anything.  For a foreign table, we use OCLASS_CLASS, just as
we do for indexes and sequences.  I think that's just leftover crap
that I failed to rip out.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: OCLASS_FOREIGN_TABLE support is incomplete

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Robert Haas  writes:
> Err... wait.  Actually, I think the right thing to do might be to
> remove OCLASS_FOREIGN_TABLE altogether.  I don't think it's actually
> used for anything.  For a foreign table, we use OCLASS_CLASS, just as
> we do for indexes and sequences.  I think that's just leftover crap
> that I failed to rip out.

OK.  I'll fix it as part of the extensions patch, since it's touching
all those same places anyway.
		regards, tom lane

Re: OCLASS_FOREIGN_TABLE support is incomplete

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Sat, Feb 5, 2011 at 10:56 AM, Tom Lane  wrote:
> Robert Haas  writes:
>> Err... wait.  Actually, I think the right thing to do might be to
>> remove OCLASS_FOREIGN_TABLE altogether.  I don't think it's actually
>> used for anything.  For a foreign table, we use OCLASS_CLASS, just as
>> we do for indexes and sequences.  I think that's just leftover crap
>> that I failed to rip out.
>
> OK.  I'll fix it as part of the extensions patch, since it's touching
> all those same places anyway.

Excellent, thanks!

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

FAQ