Search Postgresql Archives

Re: Expression of check constraint

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

 



Dirk Mika <Dirk.Mika@xxxxxxxxxxxxx> writes:
> 3.    The column ratified is of type character varying(1).  Why is it casted to text?

Type varchar in Postgres is a poor stepchild without any operators
of its own.  Text is the "native" string type and any comparison etc
will require casting varchar to text first.  It happens that the
expression decompilation code will show you those implicit casts
explicitly, but they don't really mean much.

			regards, tom lane






[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