Re: No length checking for "name" input - Mailing list pgsql-bugs

From Tom Lane
Subject Re: No length checking for "name" input
Date
Msg-id 16577.1142952385@sss.pgh.pa.us
Whole thread Raw
In response to No length checking for "name" input  ("Donald Fraser" <postgres@kiwi-fraser.net>)
List pgsql-bugs
"Donald Fraser" <postgres@kiwi-fraser.net> writes:
> There appears to be no length checking for data types of "name".

What there is is automatic truncation to the maximum allowed length (63
by default).  This is the same behavior specified for identifiers in the
SQL standard, and it's also the same behavior as for, say, casting to
varchar(63).  So I don't see why you'd expect something different.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Anton"
Date:
Subject: BUG #2344: Silent installers fails
Next
From: "Magnus Hagander"
Date:
Subject: Re: BUG #2343: Silent installers fails