Re: Time as keyword - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Time as keyword
Date
Msg-id 23697.1010501089@sss.pgh.pa.us
Whole thread Raw
In response to Time as keyword  (Dwayne Miller <dwayne-miller@home.com>)
List pgsql-hackers
Dwayne Miller <dwayne-miller@home.com> writes:
> Did time become a keyword in 7.2? 7.1.3 allowed it as a column name... 
> 7.2 rejects it.

It's always been a keyword, but it is "more reserved" than it used to
be.  See

http://developer.postgresql.org/docs/postgres/sql-keywords-appendix.html

However, according to that list TIME is still allowed as a column name,
and indeed I get:

regression=# create table foo (f1 time, time time);
CREATE

So I'm not sure what you did.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: again on index usage
Next
From: Thomas Lockhart
Date:
Subject: Re: GETTIMEOFDAY_1ARG change