Re: postgres_fdw does not see enums
От | David Fetter |
---|---|
Тема | Re: postgres_fdw does not see enums |
Дата | |
Msg-id | 20141203224159.GA11134@fetter.org обсуждение исходный текст |
Ответ на | Re: postgres_fdw does not see enums (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: postgres_fdw does not see enums
|
Список | pgsql-hackers |
On Wed, Dec 03, 2014 at 05:38:47PM -0500, Tom Lane wrote: > David Fetter <david@fetter.org> writes: > > I've been trying out 9.5-to-be's PostgreSQL FDW, and I noticed > > that it doesn't seem to handle enum types. Would this be a > > trivial fix? > > No. How would you know whether the remote side even has the enum, > let alone whether it has an identical set of members? I don't see > that enums are noticeably easier than the general case of > non-built-in types ... I must be missing something important. When querying the remote side, *and it's PostgreSQL*, we have catalog access that could be used to reconstruct the enums. Or are you thinking about the case where the enum changes from one call to the next? Cheers, David. -- David Fetter <david@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: