Re: Removing support for COPY FROM STDIN in protocol version 2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: joseph(dot)ayers(at)crunchydata(dot)com, Michael Paquier <michael(at)paquier(dot)xyz>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
Date: 2021-03-04 21:35:35
Message-ID: 1413583.1614893735@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <hlinnaka(at)iki(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2021-03-04 21:40:17 Re: [HACKERS] PATCH: Batch/pipelining support for libpq
Previous Message Alvaro Herrera 2021-03-04 21:28:57 Re: Add .log file ending to tap test log files