Re: [HACKERS] How to...? - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] How to...?
Date
Msg-id 3504BAE9.56CC17A7@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] How to...?  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
>         Ack, I fear you are correct...the third field above is 'password',
> which became a reserved word in v6.3...oh man, is this upgrade ever going
> to hurt...my 'db.dump' file is 84Meg...vi just loves it :)

Well, this doesn't solve the general problem, but "password" can be used as a
column name without inducing shift/reduce conflicts. I'll patch the source
tree sometime soon; in the meantime add the obvious source around line 4618
in gram.y:

  | PASSWORD { $$ = "password"; }

(add tabs to taste :)

                                       - Tom


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Why no Oracle, Sybase, Informix etc.
Next
From: Karl Denninger
Date:
Subject: Heh heh, who broke pg_dump?