Re: Allowing extensions to find out the OIDs of their member objects
От
Chapman Flack
Тема
Re: Allowing extensions to find out the OIDs of their member objects
Дата
Msg-id
5C4513AE.7050509@anastigmatix.net
Ответ на
Список
Дерево обсуждения
Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Michael Paquier <michael@paquier.xyz>
Re: Allowing extensions to find out the OIDs of their member objects Andres Freund <andres@anarazel.de>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Andres Freund <andres@anarazel.de>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Andres Freund <andres@anarazel.de>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Chapman Flack <chap@anastigmatix.net>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Chapman Flack <chap@anastigmatix.net>
Re: Allowing extensions to find out the OIDs of their member objects Robert Haas <robertmhaas@gmail.com>
Re: Allowing extensions to find out the OIDs of their member objects Chapman Flack <chap@anastigmatix.net>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Chapman Flack <chap@anastigmatix.net>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Allowing extensions to find out the OIDs of their member objects Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Allowing extensions to find out the OIDs of their member objects Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing extensions to find out the OIDs of their member objects David Fetter <david@fetter.org>
Re: Allowing extensions to find out the OIDs of their member objects Darafei "Komяpa" Praliaskouski <me@komzpa.net>
On 01/20/19 18:50, Tom Lane wrote: > we make a catalog entry showing that object number three has OID > thus-and-so, and then that catalog entry can be consulted to get > the right OID (by C code that has hard-wired knowledge that object > number three is the function it cares about). This is still kind > of messy, because aside from the hand-assigned object numbers > you'd have to use the extension name as part of the lookup key, > making the name into something the C code critically depends on. > We don't have ALTER EXTENSION RENAME, so maybe that's okay, but > it seems painful to say that we can never have it. An extension *has* an OID, doesn't it? pg_extension has 'em. If the extension script could somehow be informed at CREATE EXTENSION time of what its OID is, that would clear the way for ALTER EXTENSION RENAME, no? Somehow, I find this first idea more aesthetically appealing than actually trying to bind things in extensions to fixed OIDs for all time. -Chap
В списке pgsql-hackers по дате отправления
От: Andrew Gierth
Дата:
От: Tom Lane
Дата: