python - lo: Don't try to resolve the path.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - lo: Don't try to resolve the path.
Date: 2005-06-20 19:30:54
Message-ID: 20050620193054.48AB31126013@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't try to resolve the path. Doing so can be difficult on platforms which have
special extensions for executables(windows). (I can't seem to find an os
executable extension string anywhere in the os module)
Validation now occurs by executing it(--version). However, an OSError is raised
instead of a LookupError.

Modified Files:
--------------
lo/postgresql/utility:
config.py (r1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/lo/postgresql/utility/config.py.diff?r1=1.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-06-20 20:44:44 pgsql: plpgsql's exec_assign_value() freed the old value of a variable
Previous Message Tom Lane 2005-06-20 18:37:02 pgsql: Avoid WAL-logging individual tuple insertions during CREATE TABLE