Thread: pgsql/src/backend/commands user.c

pgsql/src/backend/commands user.c

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/11/01 13:09:58

Modified files:
    src/backend/commands: user.c

Log message:
    Reject tabs and linefeeds in usernames and passwords that are being
    stored in pg_pwd, to guard against failures of the sort observed by
    Tom Yackel.  Note: in the case of encrypted passwords this is no
    restriction, since the string we are interested in is the MD5 hash.