Postgres Win32 libpq Samples

Started by Nonameabout 20 years ago2 messagesgeneral
Jump to latest
#1Noname
sfourman@gmail.com

Hello, I am very new to postgreSQL I am using the win32 platform is
there a website URL that has Sample Client Apps written for win32?

I need Samples of very basic things like:

Connect to a db on a remote server
create new db
create table
add records
drop records

ect...
there are some Samples here
http://www.postgresql.org/docs/8.1/static/libpq-example.html

but they will not compile on win32 using VC++ 7

Thank you VERY much in advance for any links to Samples

Sam

#2Magnus Hagander
magnus@hagander.net
In reply to: Noname (#1)
Re: Postgres Win32 libpq Samples

Hello, I am very new to postgreSQL I am using the win32
platform is there a website URL that has Sample Client Apps
written for win32?

I need Samples of very basic things like:

Connect to a db on a remote server
create new db
create table
add records
drop records

ect...
there are some Samples here
http://www.postgresql.org/docs/8.1/static/libpq-example.html

but they will not compile on win32 using VC++ 7

I see no particular reason why those samples wouldn't work in VC++.
Exactly what errors do you get?

//Magnus