Opened 10 years ago

Closed 10 years ago

#534 closed defect (fixed)

update_db.sh to use configured PostgreSQL port

Reported by: Piero Campalani Owned by: Dimitar Misev
Priority: minor Milestone: 9.0
Component: undecided Version: development
Keywords: psql port update_db.sh Cc: Dimitar Misev
Complexity: Easy

Description

The update_db.sh(.in) utility is using a fixed port (5432) for psql connection: this inhibit systems with non-default PostgreSQL port to make the script work out of the box.

Change History (2)

comment:1 by Dimitar Misev, 10 years ago

create_db.sh too.

comment:2 by Piero Campalani, 10 years ago

Resolution: fixed
Status: newclosed

update_db.sh fixed in changeset:8edb94c.
create_db.sh does not actually set the port: I guess it let Postgres commands automatically work when environemnt PG variables are set.

Note: See TracTickets for help on using tickets.