dbTalk Databases Forums  

Re: [BUGS] No length checking for "name" input

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] No length checking for "name" input in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] No length checking for "name" input - 03-21-2006 , 08:48 AM






"Donald Fraser" <postgres (AT) kiwi-fraser (DOT) net> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.