pgsql: Change rather bizarre code ordering in get_id(). - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Change rather bizarre code ordering in get_id().
Date
Msg-id 20090603161749.64B9A75331E@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Change rather bizarre code ordering in get_id().  This isn't strictly
cosmetic --- I'm wondering if geteuid could have side effects on errno,
thus possibly resulting in a misleading error message after failure of
getpwuid.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.170 -> r1.171)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.170&r2=1.171)

pgsql-committers by date:

Previous
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Stamp alpha 17.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix tsquerysel() to not fail on an empty TSQuery.