postgresql/src/backend
Heikki Linnakangas a87a7dc8b6 Don't allow foreign tables with OIDs.
The syntax doesn't let you specify "WITH OIDS" for foreign tables, but it
was still possible with default_with_oids=true. But the rest of the system,
including pg_dump, isn't prepared to handle foreign tables with OIDs
properly.

Backpatch down to 9.1, where foreign tables were introduced. It's possible
that there are databases out there that already have foreign tables with
OIDs. There isn't much we can do about that, but at least we can prevent
them from being created in the future.

Patch by Etsuro Fujita, reviewed by Hadi Moshayedi.
2014-06-24 13:27:18 +03:00
..
access Check for interrupts during tuple-insertion loops. 2014-06-23 21:45:21 -04:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:21:01 -04:00
catalog Fix typos in comments. 2014-06-11 19:50:29 -04:00
commands Don't allow foreign tables with OIDs. 2014-06-24 13:27:18 +03:00
executor Avoid leaking memory while evaluating arguments for a table function. 2014-06-19 22:14:26 -04:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib pgindent run for 9.4 2014-05-06 12:12:18 -04:00
libpq Rename lo_create(oid, bytea) to lo_from_bytea(). 2014-06-12 15:39:09 -04:00
main Make fallback implementation of pg_memory_barrier() work. 2014-05-17 18:29:46 -04:00
nodes Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
optimizer Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
parser Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
po Translation updates 2014-05-10 22:16:59 -04:00
port Fix weird spacing in error message. 2014-06-18 15:44:35 -04:00
postmaster Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
regex pgindent run for 9.4 2014-05-06 12:12:18 -04:00
replication Consistency improvements for slot and decoding code. 2014-06-12 13:33:27 +02:00
rewrite Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:16 -04:00
storage Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
tcop Don't allow to disable backend assertions via the debug_assertions GUC. 2014-06-20 11:09:17 +02:00
tsearch pgindent run for 9.4 2014-05-06 12:12:18 -04:00
utils Add Asserts to verify that catalog cache keys are unique and not null. 2014-06-20 18:21:05 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Get rid of use of dlltool in Mingw builds. 2014-02-11 12:56:20 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00