CREATE FOREIGN TABLE ( ... LIKE ... )

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: CREATE FOREIGN TABLE ( ... LIKE ... )
Date: 2013-10-08 06:16:56
Message-ID: 20131008061656.GA6300@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Folks,

Please find attached a patch implementing and documenting, to some
extent, $subject. I did this in aid of being able to import SQL
standard catalogs and other entities where a known example could
provide a template for a foreign table.

Should there be errhint()s, too? Should we pile up all such errors
and mention them at the end rather than simply bailing on the first
one?

TBD: regression tests.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment Content-Type Size
foreign_table_like_05.diff text/plain 3.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2013-10-08 06:52:08 Re: [COMMITTERS] pgsql: Add DISCARD SEQUENCES command.
Previous Message Claudio Freire 2013-10-08 05:11:25 Re: Re: custom hash-based COUNT(DISTINCT) aggregate - unexpectedly high memory consumption