Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] postgis link to a unix soket rather than a port?

Hi Jesse ...

We are exploring a couple of new things for DataStore support - namely letting the DataStore use an already existing Java DataSource. I am not sure that the JDBC URL syntax supports the direct use of a socket.

Let me look,
- http://www.fankhausers.com/postgresql/jdbc/ Has some background information (basically IP is used even if you are working with localhost)

Some entries on the wiki  look related to your question:
- http://archives.postgresql.org/pgsql-jdbc/2003-09/msg00152.php

The examples were:
- jdbc:postgresql:///tmp:5432/template1
- jdbc:postgresql-unix:///path/to/socket/database




This is as much a question for the geotools list. Can this be done with the PostGIS datastore?

Jesse

On Apr 5, 2007, at 3:34 AM, Adrian Custer wrote:

hey all,

exploring the connection of uDig <-> R via postgis. I've learned to make
a local database server tied to a socket:

pg_ctl -w -l $LOCAL_DB/log/server.log start -o "-c listen_addresses= -c
unix_socket_directory=$LOCAL_DB"

but how do I tie up uDig to that? All I see in uDig is the address:port
combination.

any hints?

--adrian

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top