Re: [PATCHES] Fixes gram.y - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] Fixes gram.y
Date
Msg-id 200203191612.g2JGCs329896@candle.pha.pa.us
Whole thread Raw
In response to Re: [PATCHES] Fixes gram.y  (Thomas Lockhart <lockhart@fourpalms.org>)
List pgsql-hackers
Thomas Lockhart wrote:
> ...
> > I have applied the following new patch.  It moves DROP DATABASE as you
> > suggested, and fixes the CREATE TABLE tag to show just CREATE and not
> > CREATE DOMAIN.   Actually, CREATE DOMAIN should output just DOMAIN too,

                                                                ^^^^^^

Should have been CREATE here.  Sorry.


> > unless someone can tell my why that is not consistent.
>
> Consistant or not, I'm not sure how only "DOMAIN" emitted as a result of
> "CREATE DOMAIN" could extend to the other operations such as "DROP
> DOMAIN". What would you return for that one? istm that "CREATE" needs to
> show up as the first word in the response, and that if necessary we
> should extend the other CREATE operations to qualify their return string
> also.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Fixes gram.y
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Fixes gram.y