Re: pgsql/src/backend/postmaster postmaster.c - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql/src/backend/postmaster postmaster.c
Date
Msg-id Pine.LNX.4.30.0102201652280.938-100000@peter.localdomain
Whole thread Raw
In response to pgsql/src/backend/postmaster postmaster.c  (Tom Lane <tgl@hub.org>)
Responses Re: pgsql/src/backend/postmaster postmaster.c
List pgsql-committers
Tom Lane writes:

> Log message:
>     Truncate incoming username and database name to NAMEDATALEN-1 characters
>     so that we don't reject overlength names unnecessarily.

Is this necessarily a good idea?  ISTM that if you send the wrong name,
then it's wrong, period.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/contrib/pgcrypto Makefile krb.c
Next
From: Tom Lane
Date:
Subject: Re: pgsql/src/backend/postmaster postmaster.c