Re: [HACKERS] A notice for too long names - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] A notice for too long names
Date
Msg-id Pine.LNX.4.21.0001201907190.349-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] A notice for too long names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2000-01-20, Tom Lane mentioned:

> Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> >> 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.
> 
> > Would it be better to throw an elog(ERROR)?
> 
> Definitely NOT.  Rejecting long identifiers went out with Dartmouth Basic.

But it came back with compilers issuing warnings (hence notice) about
them. Silently truncating input went out with GNU, so I guess it's more of
a current trend ... :)

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [HACKERS] initdb problems on Solaris
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] Variable case database names