Hi,

The service configuration is optional. If you did not specify a
PostgreSQL service you should leave the service field empty.

Services are a good way to keep PostgreSQL connections independent of
IP-addresses and computer names. You define a service and can exchange
the datatabase server underneath that service (running on a different
ip/name) but under the same service name.

I use PG servcices for all of my QGIS projects because I need to move
them around on different servers.

See http://www.postgresql.org/docs/current/static/libpq-pgservice.html

Andreas


Am 15.10.2013 15:44, schrieb Gibbons, John:
> I was able to connect to a Postgres database in v1.9, but am getting an error 
> in version 2.0.
> When I submit the connection details I get ERROR: service file 
> "/etc/pg_service.conf" not found
> I can confirm that this file does not seem to exist on my PC, I didn't have a 
> problem with this in 1.9.
> 
> Has anyone seen this and managed to get around the problem?
> 
> DISCLAIMER: The information contained in this communication/message from 
> [email protected] sent on Tue Oct 15 14:44:33 2013 is confidential 
> and may be legally privileged. It is intended solely for the addressee(s) 
> [email protected]
> 
> Access to this message by anyone else is unauthorised. If you are not the 
> intended recipient, any disclosure, copying, or distribution of the message, 
> or any action or omission taken by you in reliance on it, is prohibited and 
> may be unlawful.
> As a public body, Salford City Council may be required to disclose this email 
> [or any response to it] under the Freedom of Information Act 2000, unless the 
> information in it is covered by one of the exemptions in the Act. 
> Please immediately contact the sender, [email protected] if you 
> have received this message in error. 
> 
> For the full disclaimer please access http://www.salford.gov.uk/e-mail.  
> Thank you.
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 

_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to