Re: [HACKERS] OCLASS_FOREIGN_TABLE support is incomplete

2011-02-05 Thread Tom Lane
Robert Haas robertmh...@gmail.com 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] OCLASS_FOREIGN_TABLE support is incomplete

2011-02-05 Thread Robert Haas
On Sat, Feb 5, 2011 at 10:56 AM, Tom Lane t...@sss.pgh.pa.us wrote:
 Robert Haas robertmh...@gmail.com 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] OCLASS_FOREIGN_TABLE support is incomplete

2011-02-04 Thread Robert Haas
On Fri, Feb 4, 2011 at 2:44 PM, Tom Lane t...@sss.pgh.pa.us 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] OCLASS_FOREIGN_TABLE support is incomplete

2011-02-04 Thread Robert Haas
On Fri, Feb 4, 2011 at 2:46 PM, Robert Haas robertmh...@gmail.com wrote:
 On Fri, Feb 4, 2011 at 2:44 PM, Tom Lane t...@sss.pgh.pa.us 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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers