A notice for too long names

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: pgsql-hackers(at)postgresql(dot)org
Subject: A notice for too long names
Date: 2000-01-20 13:26:44
Message-ID: Pine.GSO.4.02A.10001201418540.15489-100000@Puma.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Wouldn't it be fair if a notice was generated if you attempt to create
and/or reference a name that's longer than NAMEDATALEN. Like

=> create table some_really_much_too_long_name_here ( ... );
NOTICE: "some_really_much_too_long_name_here" will be truncated to
"some_really_much_too_long_name_" [ <possible reference to documentation
and/or source code to change this> ]

Better than finding out after the fact, ISTM. I could (try to) take care
of this.

--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-01-20 13:39:59 AW: AW: [HACKERS] initdb problems on Solaris
Previous Message J. Roeleveld 2000-01-20 12:36:27 Permissions, update acts same as delete, feature or bug?