Re: small typed-table bug in gram.y

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Robert Haas" <robertmhaas(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: small typed-table bug in gram.y
Date: 2010-08-19 20:53:06
Message-ID: 4C6D5362020000250003494D@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> 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
> NOT EXISTS foo OF bar", the TEMP won't stick.

I tried it on a build from yesterday's HEAD. You're right.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Caleb Welton 2010-08-19 21:28:32 Re: [pgsql-hackers] Daily digest v1.11023 (17 messages)
Previous Message David Fetter 2010-08-19 20:51:08 Re: Fw: patch for pg_ctl.c to add windows service start-type