[#173] postgis testcase not usable with recent debian systems

Date:
2006-08-03 10:19
Priority:
1
State:
Closed
Submitted by:
Didrik Pinte (dpinte)
Assigned to:
Nobody (None)
Category:
none
Version:
none
Resolution:
none
Summary:
postgis testcase not usable with recent debian systems

Detailed description

The postgis testcase rely on the existance of the pg_ctl command.

Since the new clustered version of the postgres packages, the pg_ctl command is wrapped inside pg_ctlcluster.
Message  ↓
Date: 2007-01-08 15:14
Sender: Bernhard Reiter

If you feel you can add something useful for the README
just do it.

Date: 2007-01-05 23:59
Sender: Didrik Pinte

Bernhard,

You're right. Adding pg_ctl to the PATH made everything work fine.

Should we update test/README with a specific text for recent Debian installation ? The last lines of the text already specify that the PATH should be adjusted to get all the Postgresql command line programes.

Date: 2007-01-01 21:33
Sender: Bernhard Reiter

I believe the solution to this issue is
to add pg_ctl to the path before calling the test.
Adding something to the instructions should be fine.

Date: 2006-11-06 15:18
Sender: Bernhard Reiter

Didrik: I tested with Sid.
The pg_ctl command is still there, it just misses
from the normal PATH.

Check: dpkg --search pg_ctl
or dpkg -L postgresql-8.1 | grep pg_ctl

Date: 2006-11-06 13:42
Sender: Frank Koormann

Instead of dealing with distribution specific stuff, would it be an option to control "postmaster" directly?

pg_ctl is doing only slightly more than launching the postmaster it expects in the same directory and sending a SIGTERM on shutdown.

Date: 2006-11-06 11:06
Sender: Didrik Pinte

Running a Debian/Sid system, I don't have anymore the pg_ctl command. I'm trying to identify the difference and how to update postgissupport.py so that it can use the pg_ctlcluster command.

I'll try to create a little patch for newer debian systems.

Date: 2006-11-06 10:12
Sender: Bernhard Reiter

Dirik, sorry for the last ping, I just had missed your response.

Just committed Revision 2714 which improves the
situation using the direct path for pg_ctl.
You need to adapt the path in test/postgissupport.py,
see the examples there.

Now left is to detect which version of pg_ctl to use
automatically.
If we wanted to use pg_ctlcluster, we would also need
to detect this and use more variants in postgissupport.py.


Date: 2006-10-26 16:36
Sender: Bernhard Reiter

Didrik?

Date: 2006-09-11 14:49
Sender: Didrik Pinte

It's a Debian specific problem

Date: 2006-09-11 13:46
Sender: Bernhard Reiter

Is this a general problem with postgis or
only a problem of the Debian packages?

No attached documents

Field Old Value Date By
status_idOpen2007-05-02 22:32Didrik Pinte
close_date2007-05-02 22:322007-05-02 22:32Didrik Pinte
summarypostgis tescase not usable with recent debian systems2006-10-26 16:36Bernhard Reiter
close_dateNone2006-10-26 16:36Bernhard Reiter