el dorado <do_ra_do(at)mail(dot)ru> 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