Search Postgresql Archives

Re: column names and dollar sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Armand Pirvu (home)" <armand.pirvu@xxxxxxxxx> writes:
> Ran into the following statement

> CREATE TABLE test(
> 	Date$ date,
> 	Month_Number$ int,
> 	Month$ varchar(10),
> 	Year$ int
> );

> While it does execute, I wonder if the $ has any special meaning ?

Postgres thinks it's a valid identifier character, as long as it's
not the first character.  I don't believe it's standard SQL, but
we hacked it in a long time ago for compatibility with Oracle or
somebody like that.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux