From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: barlone@gmail.com
Subject: BUG #17074: PQsocket() truncate hande on win64
Date: Mon, 28 Jun 2021 12:23:07 +0000
Message-ID: <17074-b064bbbb12dc6cf6@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17074
Logged by: Alexey Polushin
Email address: barlone@gmail.com
PostgreSQL version: 13.3
Operating system: windows 64 bit
Description:
Function PQsocket from libpq returns int. But on win64, int type has 32
bits, and socket handle has 64 bits.
PQsocket must return а different type, may be ptrdiff_t.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, barlone@gmail.com
Subject: Re: BUG #17074: PQsocket() truncate hande on win64
In-Reply-To: <17074-b064bbbb12dc6cf6@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox