Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS
Neil Conway <neilc@samurai.com>
Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS patch: a 3-value enum was mistakenly assigned directly to a 'bool' in transformCreateStmt(). Along the way, change makeObjectName() to be static, as it isn't used outside analyze.c
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +3 −18 |
| src/backend/parser/analyze.c | modified | +5 −17 |
| src/backend/parser/parse_clause.c | modified | +28 −2 |
| src/include/parser/analyze.h | modified | +1 −4 |
| src/include/parser/parse_clause.h | modified | +2 −1 |