Feature request #1105

Mapfile export - PostGIS port is missing

Added by str238 - over 12 years ago. Updated over 9 years ago.

Status:Closed
Priority:Low
Assignee:Gary Sherman
Category:Python plugins
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:11165

Description

It would be great to include also the 'port' parameter into the mapfile export. This is currently missing, so the default port 5432 is assumed.

History

#1 Updated by Richard Duivenvoorde over 9 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

from what I see, this is working now: using a project to a postgis layer with a server on another portnummer gives me a connection string like:

CONNECTION "dbname='geo' host=localhost port=54322 user='qgis' password='qgis' sslmode=disable"

closing this issue, please reopen or open a new one if I'm wrong.

Also available in: Atom PDF