The following bug has been logged on the website: Bug reference: 8151 Logged by: Philip A Reimer Email address: antrei...@gmail.com PostgreSQL version: 9.2.4 Operating system: mingw-w64 Description:
I'm getting this error when running psql compiled with gcc 4.8 but don't when it is compiled with gcc 4.7. To compile with gcc 4.7 I used http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.7-release/i686-w64-mingw32-gcc-4.7.4-release-linux64_rubenvb.tar.xz and to compile with gcc 4.8 I used both http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/i686-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz and https://aur.archlinux.org/packages/mingw-w64-gcc/. I compiled on both windows 7 and ArchLinux with the same results. psql --host=192.168.40.240 psql: could not connect to server: Operation would block (0x00002733/10035) Is the server running on host "192.168.40.240" and accepting TCP/IP connections on port 5432? To compile on ArchLinux I used this script. Postgresql was extracted to mingw-dir\src. The script was also placed in mingw-dir\src pkgver=9.2.4 builddir=$(pwd)/postgresql-9.2.4-build export PATH=$(pwd)/../bin:$PATH export PATH=$(pwd)/../i686-w64-mingw32/bin:$PATH cd postgresql-$pkgver ./configure --host=i686-w64-mingw32 --prefix=$builddir/ --without-zlib for dir in src/interfaces src/bin/pg_config src/bin/psql; do make -C $dir install done strip -x $builddir/lib/*.dll strip -g $builddir/lib/*.dll strip -g $builddir/lib/*.a -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs