Opened 11 years ago

Closed 5 years ago

#2214 closed defect (fixed)

Missing privileges requirements from Testing section

Reported by: mloskot Owned by: robe
Priority: medium Milestone: PostGIS 3.0.0
Component: documentation Version: master
Keywords: Cc:

Description

The 2.4.4. Testing section does not give any hints on system and database user privileges required to run the tests.

Assuming that installation from sources is performed not as postgres, but another non-root user with sudo privileges, then it would be good to add a note on how to avoid common errors while running make check as non-root non-postgres user:

psql: FATAL: permission denied to set parameter...
psql: FATAL:  {Peer|Ident} authentication failed for user...

Pointing to PGUSER and PGPASSWORD variables may be worth as well, with relevant md5 authentication set in pg_hba.conf.

Change History (12)

comment:1 by pramsey, 11 years ago

Milestone: PostGIS 2.0.5

comment:2 by pramsey, 10 years ago

Milestone: PostGIS 2.0.5PostGIS 2.0.6

comment:3 by pramsey, 9 years ago

Milestone: PostGIS 2.0.7PostGIS 2.0.8

comment:4 by pramsey, 7 years ago

Milestone: PostGIS 2.0.8PostGIS 2.2.6

comment:5 by robe, 7 years ago

Milestone: PostGIS 2.2.6PostGIS 2.5.0

comment:6 by robe, 6 years ago

Milestone: PostGIS 2.5.0PostGIS 2.4.5

comment:7 by mloskot, 6 years ago

I think this can be closed with "Read the PostgreSQL docs, Luke!" response.

comment:8 by pramsey, 6 years ago

Milestone: PostGIS 2.4.5PostGIS 2.4.6

comment:9 by robe, 5 years ago

It doesn't even look like we cover make check.

I guess I should add that.

comment:10 by robe, 5 years ago

nevermind I see it in longer instructions

comment:11 by robe, 5 years ago

In 16987:

Mention how to use psql environment variables in long install version and how to test extensions.
References #2214 for PostGIS 3.0

comment:12 by komzpa, 5 years ago

Milestone: PostGIS 2.4.6PostGIS 3.0.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.