pgsql: Clean up psql variable code a little: eliminate unnecessary tests - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Clean up psql variable code a little: eliminate unnecessary tests
Date
Msg-id 20060621160511.CC3A39FA7BA@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Clean up psql variable code a little: eliminate unnecessary tests in
GetVariable() and be consistent about treatment of the list header.
Motivated by noticing strspn() taking an unreasonable percentage of
runtime --- the call removed from GetVariable() was the only one that
could be in a high-usage path ...

Modified Files:
--------------
    pgsql/src/bin/psql:
        variables.c (r1.24 -> r1.25)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/variables.c.diff?r1=1.24&r2=1.25)

pgsql-committers by date:

Previous
From: pgstudy@pgfoundry.org (User Pgstudy)
Date:
Subject: fulldisjunction - fd: Some more deformed tuple structures consolidation
Next
From: joe@postgresql.org (Joe Conway)
Date:
Subject: pgsql: - During dblink_open, if transaction state was IDLE, force cursor