Opened 7 years ago

Closed 12 months 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 Changed 7 years ago by pramsey

Milestone: PostGIS 2.0.5

comment:2 Changed 6 years ago by pramsey

Milestone: PostGIS 2.0.5PostGIS 2.0.6

comment:3 Changed 5 years ago by pramsey

Milestone: PostGIS 2.0.7PostGIS 2.0.8

comment:4 Changed 3 years ago by pramsey

Milestone: PostGIS 2.0.8PostGIS 2.2.6

comment:5 Changed 3 years ago by robe

Milestone: PostGIS 2.2.6PostGIS 2.5.0

comment:6 Changed 2 years ago by robe

Milestone: PostGIS 2.5.0PostGIS 2.4.5

comment:7 Changed 2 years ago by mloskot

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

comment:8 Changed 23 months ago by pramsey

Milestone: PostGIS 2.4.5PostGIS 2.4.6

comment:9 Changed 21 months ago by robe

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

I guess I should add that.

comment:10 Changed 21 months ago by robe

nevermind I see it in longer instructions

comment:11 Changed 21 months ago by robe

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 Changed 12 months ago by komzpa

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