[Geocoding] [OpenStreetMap] #4736: Make it possible to run setup.php with a different PSQL port
OpenStreetMap
trac at noreply.openstreetmap.org
Tue Jan 8 13:51:19 GMT 2013
#4736: Make it possible to run setup.php with a different PSQL port
-------------------------+-------------------------
Reporter: b3nn0 | Owner: geocoding@…
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: nominatim | Version: 2.0
Keywords: |
-------------------------+-------------------------
Hello,
I've written a small patch that makes in possible to change the port that
setup.php will use to access the PSQL database. setup.php called several
command-line applications that offered a -p or -P switch to specify the
port. setup.php does not use that flag.
With this patch, setup.php will correctly respect the port configured via
the CONST_Database_DSN specified in settings/local.php.
This patch does, however, not cover update.php as I don't need it. It
should be trivial to fix that aswell, but I diddn't do it because I can't
test it here.
Use patch setup.php < patch.txt to patch the file.
regards,
Adrian
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4736>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Geocoding
mailing list