Thread: platform independend db access?

platform independend db access?

From
Markus Wagner
Date:
Hi,

I would like my C source code to compile under unix and windows. I am 
currently using the pg libs to access my database. Under Windows I'd like 
to use odbc.

What's the most platform (and db) independend way to access the database? 
Since odbc comes from MS, I am still looking for something "better". Would 
there be libs for unix? What to do?

Thank you,

Markus


Re: platform independend db access?

From
clayton cottingham
Date:
Markus Wagner wrote:
> 
> Hi,
> 
> I would like my C source code to compile under unix and windows. I am
> currently using the pg libs to access my database. Under Windows I'd like
> to use odbc.
> 
> What's the most platform (and db) independend way to access the database?
> Since odbc comes from MS, I am still looking for something "better". Would
> there be libs for unix? What to do?
> 
> Thank you,
> 
> Markus
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly


id say use perl and or jdbc