Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR
Date
Msg-id 34DA7537.377EB3ED@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Re: [QUESTIONS] impossible insert data into VARCHAR  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> Do we need to disallow varchar() and char() without a length?

The question might be moot since Jan's suggestion may fix the behavior. But, just for completeness...

char, char(), and varchar() are SQL92 character types. varchar - with no arguments - is not, and seems as
though it is functionally equivalent to "text". Could do without it if necessary, but it is a nice extension.

                                               - Tom


pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] Trigger and permissions
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] create function bug?