Skip site navigation (1) Skip section navigation (2)

Re: pgsql/src/backend/postmaster postmaster.c

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)hub(dot)org>
Cc: <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql/src/backend/postmaster postmaster.c
Date: 2001-02-20 15:53:15
Message-ID: Pine.LNX.4.30.0102201652280.938-100000@peter.localdomain (view raw or flat)
Thread:
Lists: 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(at)gmx(dot)net       http://yi.org/peter-e/


In response to

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2001-02-20 16:39:17
Subject: Re: pgsql/src/backend/postmaster postmaster.c
Previous:From: Bruce Momjian - CVSDate: 2001-02-20 15:34:15
Subject: pgsql/contrib/pgcrypto Makefile krb.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group