I just installed the latest Postgres binary from Enterprise DB and tried to install some user languages, and but it failed with the following errors:
postgres=# create language pltcl;
ERROR: could not load library "C:/Software/PostgreSQL/9.2/lib/pltcl.dll": The specified module could not be found.
postgres=# create language plperl;
ERROR: could not load library "C:/Software/PostgreSQL/9.2/lib/plperl.dll": %1 is not a valid Win32 application.
postgres=# select version();
PostgreSQL 9.2.4, compiled by Visual C++ build 1600, 64-bit
I have verified that there are dll's in the above locations, so I wonder if $libdir needs to have M$ windows backslashes instead of unix forward slashes? But I don't really know.
I would appreciate any ideas on how to fix. I am going to try a 32 bit install. THanks!
Thanks!