1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs,

for backwards compatibility with pre-7.3 behavior.  Per discussion on
pgsql-general and pgsql-hackers.
This commit is contained in:
Tom Lane
2003-01-23 05:10:41 +00:00
parent 742403bdad
commit 790d5bc992
3 changed files with 89 additions and 70 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: execnodes.h,v 1.91 2003/01/12 04:03:34 tgl Exp $
* $Id: execnodes.h,v 1.92 2003/01/23 05:10:41 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -311,6 +311,8 @@ typedef struct EState
List *es_rowMark; /* not good place, but there is no other */
bool es_instrument; /* true requests runtime instrumentation */
bool es_force_oids; /* true forces result tuples to have (space
* for) OIDs --- used for SELECT INTO */
List *es_exprcontexts; /* List of ExprContexts within EState */