I download ready binaries from http://www.postgresql.org/ftp/binary/v8.3.3/win32/ (postgresql-8.3.3-1-binaries-no-installer.zip) So I didn't know exactly which compilier was used. Are these binaries built by means of MSVC? Regards, Marina. > el dorado <do_ra_do@xxxxxxx> writes: > > I'd like to write C-function returning text for using in PG 8.3.3. (WinXP SP2) > > For compilation I use MinGW-5.1.4 (gcc 3.4.5),MSYS-1.0.10. > > Was the Postgres server you're using built the same way? I seem to > recall some incompatibilities between MinGW and MSVC builds. > > regards, tom lane > >