| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: Re: [BUGS] WIN32 Non Blocking |
| Date: | 2001-08-04 17:18:36 |
| Message-ID: | 200108041718.f74HIaI11787@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-interfaces pgsql-patches |
Great. Glad to have these Win32 things done.
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Do we have a fix for this? It is a WIN32/libpq/multibyte problem.
>
> AFAIK it's all fixed (barring new bug reports ;-)). The main problems
> were (a) win32.mak hadn't gotten updated when we changed the set of
> backend source files that are included into libpq for MULTIBYTE;
> (b) win32.mak failed to define FRONTEND, (c) someone had incorrectly
> added
>
> #ifndef WIN32
> int optval;
> #else
> char optval;
> #endif
>
> upon noting that his Windows compiler griped about
>
> if (getsockopt(conn->sock, SOL_SOCKET, SO_ERROR,
> &optval, &optlen) == -1)
>
> instead of realizing that the correct fix is
>
> if (getsockopt(conn->sock, SOL_SOCKET, SO_ERROR,
> (char *) &optval, &optlen) == -1)
>
> (a) is new in 7.1 but the other bugs go back at least to 7.0.
>
> regards, tom lane
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-08-04 17:46:59 | Re: alloc error on multiple action-queries within a rule |
| Previous Message | Bruce Momjian | 2001-08-04 17:18:00 | Re: HELP! BUG? pg_dump mucks up grant/revoke |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | FutureSoft | 2001-08-06 19:24:35 | PostgreSQL ODBC Driver |
| Previous Message | Tom Lane | 2001-08-04 17:11:44 | Re: Re: [BUGS] WIN32 Non Blocking |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2001-08-04 19:31:48 | Re: Patch to improve commit time performance and a few other things |
| Previous Message | Tom Lane | 2001-08-04 17:11:44 | Re: Re: [BUGS] WIN32 Non Blocking |