[GENERAL] MinGW compiled client library

2013-08-13 Thread Michael Cronenworth
Hello, When the client library (version 9.2.x) is compiled with a MinGW-w64 environment the resulting libpq.dll will not function. This has been reported previously with two bug reports, which have gone untouched. Bug 8151: http://www.postgresql.org/message-id/e1ubelm-0007nk...@wrigleys.postgresq

Re: [GENERAL] MinGW compiled client library

2013-08-13 Thread Michael Cronenworth
On 08/13/2013 01:40 PM, John R Pierce wrote: > They use Microsoft Visual C (I forget the exact version, but I believe most > recent versions are supported, including the "Express" versions). Then MinGW should be capable of producing the same binaries. I've tried early gcc 4.7 and the latest gcc 4

Re: [GENERAL] MinGW compiled client library

2013-08-15 Thread Michael Cronenworth
On 08/13/2013 12:35 PM, Michael Cronenworth wrote: > When the client library (version 9.2.x) is compiled with a MinGW-w64 > environment > the resulting libpq.dll will not function. This has been reported previously > with two bug reports, which have gone untouched. > >

Re: [GENERAL] MinGW compiled client library

2013-08-15 Thread Michael Cronenworth
On 08/15/2013 10:59 AM, Michael Cronenworth wrote: > The attached patches resolve the issue. Should I forward the patches on to the pgsql-hackers list for review or is this list sufficient? (First time PostgreSQL hacker.) -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org)

Re: [GENERAL] MinGW compiled client library

2013-08-16 Thread Michael Cronenworth
On 08/16/2013 02:12 AM, Albe Laurenz wrote: Yes, any patches should be posted to -hackers, in this case with a archive reference to the discussion on -general. Please readhttp://wiki.postgresql.org/wiki/Submitting_a_Patch To make sure that the patch does not get lost, add it to the next commitf