Fixed PATH regression test

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Fixed PATH regression test
Date: 2000-07-28 15:33:39
Message-ID: 3981A7D3.E94A4636@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've committed changes to gram.y to get PATH accepted as both a data
type and a column label (the latter is what the regression test has been
complaining about).

There is some difference in "edge case" names allowed for ColId and, for
example, function names, though I think the current state is more
consistant than earlier. There are likely to be more changes coming, and
*possibly* these changes will include ugly restrictions on where SQL92
type names are allowed to appear.

This last point comes from SQL99 allowing

CREATE FUNCTION name (IN argname argtype,...)
CREATE FUNCTION name (argname argtype,...)
CREATE FUNCTION name (argtype,...)

and afaict most other permutations. yacc has trouble with the "argname
argtype" pair since it can't tell by looking ahead just one token
whether what is reading is an "argname" or an "argtype". I'll keep
poking at it...

- Thomas

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-07-28 15:42:41 Re: Re: Another TODO: insert/update...returning
Previous Message Bruce Momjian 2000-07-28 15:33:15 Re: Inprise InterBase(R) 6.0 Now Free and Open Source