*** pgsql/src/backend/parser/parse_clause.c 2009/01/22 20:16:05 1.186 --- pgsql/src/backend/parser/parse_clause.c 2009/02/02 19:31:39 1.187 *************** *** 8,14 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/parser/parse_clause.c,v 1.185 2009/01/01 17:23:45 momjian Exp $ * *------------------------------------------------------------------------- */ --- 8,14 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/parser/parse_clause.c,v 1.186 2009/01/22 20:16:05 tgl Exp $ * *------------------------------------------------------------------------- */ *************** interpretInhOption(InhOption inhOpt) *** 233,239 **** } /* ! * Given a relation-options list (of DefElems), return true iff the specified * table/result set should be created with OIDs. This needs to be done after * parsing the query string because the return value can depend upon the * default_with_oids GUC var. --- 233,239 ---- } /* ! * Given a relation-options list (of ReloptElems), return true iff the specified * table/result set should be created with OIDs. This needs to be done after * parsing the query string because the return value can depend upon the * default_with_oids GUC var. *************** interpretOidsOption(List *defList) *** 246,255 **** /* Scan list to see if OIDS was included */ foreach(cell, defList) { ! DefElem *def = (DefElem *) lfirst(cell); ! if (pg_strcasecmp(def->defname, "oids") == 0) ! return defGetBoolean(def); } /* OIDS option was not specified, so use default. */ --- 246,255 ---- /* Scan list to see if OIDS was included */ foreach(cell, defList) { ! ReloptElem *def = (ReloptElem *) lfirst(cell); ! if (pg_strcasecmp(def->optname, "oids") == 0) ! return reloptGetBoolean(def); } /* OIDS option was not specified, so use default. */