Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

PGSERVICE/PGSERVICEFILE not read properly

#132

Submitted by: breinbaas

This looks like a bug to me:

Setting a PGSERVICE, and also
setting PGSERVICEFILE (as a fully qualified name):

export PGSERVICE=prod
export PGSERVICEFILE=/home/mynick/.pg_service.conf

then psycopg2 still complains about not having the service, because it reads the default system pg_service.conf file

(perhaps psycopg2 is skipping dot files?)

Reported by Psycopg website · October 8th, 2012 @ 05:47 PM

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to invalid

    Psycopg doesn't use PGSERVICE at all (and I didn't even know about them). It is the libpq to handle them.

    You should look into the libpq why the dotfile is ignored.

    October 8th, 2012 @ 06:04 PM