From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: joseph.ayers@crunchydata.com, Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
Date: Thu, 04 Mar 2021 16:35:35 -0500
Message-ID: <1413583.1614893735@sss.pgh.pa.us> (raw)
In-Reply-To: <b1146fdb-8d08-2bf2-cda2-638b63d4a007@iki.fi>
References: <20210203160958.GA2341@alvherre.pgsql>
<3921698.1612369777@sss.pgh.pa.us>
<YBuaJXBJOPRVCA5I@paquier.xyz>
<6d6dcead-71fa-d9f6-4aaa-41104af0f27c@iki.fi>
<1318732.1614814378@sss.pgh.pa.us>
<8a174f9b-59e4-e231-5b66-1f01b314882a@iki.fi>
<1410154.1614888292@sss.pgh.pa.us>
<b1146fdb-8d08-2bf2-cda2-638b63d4a007@iki.fi>
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Joseph, any chance we could see a backtrace or some other details from
> those crashes?
+1
> 'drongo' just reported linker errors:
> postgres.def : error LNK2001: unresolved external symbol
> GetOldFunctionMessage
> [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj]
> postgres.def : error LNK2001: unresolved external symbol errfunction
> [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj]
> postgres.def : error LNK2001: unresolved external symbol pq_getstring
> [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj]
> postgres.def : error LNK2001: unresolved external symbol pq_putbytes
> [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj]
> Release/postgres/postgres.lib : fatal error LNK1120: 4 unresolved
> externals [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj]
> Done Building Project
> "c:\\prog\\bf\\root\\HEAD\\pgsql.build\\postgres.vcxproj" (default
> targets) -- FAILED.
As far as that goes, I think suspicion has to fall on this:
Not re-generating POSTGRES.DEF, file already exists.
which gendef.pl prints if it thinks the def file is newer than
all the inputs. So either drongo had some kind of clock skew
issue, or that bit of logic in gendef.pl has some unobvious bug.
(I say "had" because I see the next run went fine.)
regards, tom lane
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, michael@paquier.xyz, alvherre@alvh.no-ip.org, andrew@dunslane.net
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
In-Reply-To: <1413583.1614893735@sss.pgh.pa.us>
* 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