Re: [HACKERS] small typed-table bug in gram.y

2010-08-19 Thread Kevin Grittner
Robert Haas wrote: > While examining gram.y today I happened to notice an oversight in the > grammar rules for creating typed tables: the fourth CREATE TABLE > production ignores $2. Which I think means (although of course I > didn't test it) that if you do something like "CREATE TEMP TABLE IF

[HACKERS] small typed-table bug in gram.y

2010-08-19 Thread Robert Haas
While examining gram.y today I happened to notice an oversight in the grammar rules for creating typed tables: the fourth CREATE TABLE production ignores $2. Which I think means (although of course I didn't test it) that if you do something like "CREATE TEMP TABLE IF NOT EXISTS foo OF bar", the TE