Search Postgresql Archives

Re: Using PostgreSQL 32bit dlls in 64-bit code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



se.stephen@xxxxxxxxx wrote:
Hi,

We are considering to use postgreSQL for our 64-bit code development
for Windows XP 64 bit machine.

As 64-bit postgreSQL is not available for Windows, we can only use
postgreSQL's 32bit dlls.  In that case, can we just call postgreSQL's
functions in our 64-bit code?   Or do we need to write a wrapper
around postgreSQL's 32bit dlls somehow?

Any pointer will be much appreciated.  Thanks.

you can't call 32bit libraries from 64bits (or visa versa) without going through all kinda complex data thunking. you would need a wrapper, or better, assuming you're coding native libpq calls, recompile libpq for windows x86_64. the database server could remain 32bit.



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux