Click here to load reader
Upload
neelima-kapoor
View
395
Download
3
Embed Size (px)
DESCRIPTION
Test document
Citation preview
Important tips related to Postgres connection (Postgre version 9)
1) For error FATAL: 28000: no pg_hba.conf entry for host (SSL of) on the machine where mapserver is installed, following line needs to be inserted in “pg_hba.conf” file (location: Postgres installed directory. Default is “C:\Program Files\PostgreSQL9\data)in which Postgres 9 has been installed :# TYPE DATABASE USER CIDR-ADDRESS METHODhost all all ipadress/32 md5
Note: Here ipadress is the IP address of the machine in which mapserver has been installed.
2) Table name in Postgre should either be in small letters or with underscore sign. Found issue while selecting data from STREETNETWORK table. Select * from STREETNETWORK : Error. Have to give the table name in “” likeSelect * from “STREETNETWORK”So renamed the table name to streetnetwork and the following query worked:Select * from streetnetwork