Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Methods from VO to connect to POSTGRES..

186 views
Skip to first unread message

Sherlock

unread,
Oct 18, 2012, 12:14:56 AM10/18/12
to
HI

I use the libmySQL to connect to mySQL with some VO code.
Is there are similar way to connect to POstgres ?
I need to do some DBF to Postgres export and looking at a simple way to do it in VO.
I was hoping not to use some commercial products and some simply.

What are other developers doing ?

Phil McGuinness

Carlos Rocha

unread,
Oct 18, 2012, 9:12:35 AM10/18/12
to
Hi Phil,

You can use ODBC or OleDb as everybody else, but if you are looking for
a way to direct connect to PG all you need is libpq.dll:
http://www.postgresql.org/docs/9.2/interactive/libpq.html

Taking a fast look at point 31.21 (Example Programs) seems not to hard.
--
Carlos Rocha
0 new messages