Re: [HACKERS] A notice for too long names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] A notice for too long names
Дата
Msg-id Pine.LNX.4.21.0001201907190.349-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] A notice for too long names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [HACKERS] initdb problems on Solaris
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] Variable case database names