pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion
4+ messages / 1 participants
[nested] [flat]

* pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion
@ 2023-10-01 16:09  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2023-10-01 16:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

In COPY FROM, fail cleanly when unsupported encoding conversion is needed.

In recent releases, such cases fail with "cache lookup failed for
function 0" rather than complaining that the conversion function
doesn't exist as prior versions did.  Seems to be a consequence of
sloppy refactoring in commit f82de5c46.  Add the missing error check.

Per report from Pierre Fortin.  Back-patch to v14 where the
oversight crept in.

Discussion: https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d8a09939a3e830c7e2c3a68925d5f4c298dc3336

Modified Files
--------------
src/backend/commands/copyfrom.c | 6 ++++++
1 file changed, 6 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion
@ 2023-10-01 16:09  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2023-10-01 16:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

In COPY FROM, fail cleanly when unsupported encoding conversion is needed.

In recent releases, such cases fail with "cache lookup failed for
function 0" rather than complaining that the conversion function
doesn't exist as prior versions did.  Seems to be a consequence of
sloppy refactoring in commit f82de5c46.  Add the missing error check.

Per report from Pierre Fortin.  Back-patch to v14 where the
oversight crept in.

Discussion: https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ea0e7cd6b87fe16937604ac1829d6d94bd99065d

Modified Files
--------------
src/backend/commands/copyfrom.c | 6 ++++++
1 file changed, 6 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion
@ 2023-10-01 16:09  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2023-10-01 16:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

In COPY FROM, fail cleanly when unsupported encoding conversion is needed.

In recent releases, such cases fail with "cache lookup failed for
function 0" rather than complaining that the conversion function
doesn't exist as prior versions did.  Seems to be a consequence of
sloppy refactoring in commit f82de5c46.  Add the missing error check.

Per report from Pierre Fortin.  Back-patch to v14 where the
oversight crept in.

Discussion: https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/95fd5c89ffa18f6958f0135013046f798cced72b

Modified Files
--------------
src/backend/commands/copyfrom.c | 6 ++++++
1 file changed, 6 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion
@ 2023-10-01 16:09  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2023-10-01 16:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

In COPY FROM, fail cleanly when unsupported encoding conversion is needed.

In recent releases, such cases fail with "cache lookup failed for
function 0" rather than complaining that the conversion function
doesn't exist as prior versions did.  Seems to be a consequence of
sloppy refactoring in commit f82de5c46.  Add the missing error check.

Per report from Pierre Fortin.  Back-patch to v14 where the
oversight crept in.

Discussion: https://postgr.es/m/20230929163739.3bea46e5.pfortin@pfortin.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a715c02122e7be8ff631e5ea28b80ec7307f39e6

Modified Files
--------------
src/backend/commands/copyfrom.c | 6 ++++++
1 file changed, 6 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2023-10-01 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-10-01 16:09 pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion Tom Lane <tgl@sss.pgh.pa.us>
2023-10-01 16:09 pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion Tom Lane <tgl@sss.pgh.pa.us>
2023-10-01 16:09 pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion Tom Lane <tgl@sss.pgh.pa.us>
2023-10-01 16:09 pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion Tom Lane <tgl@sss.pgh.pa.us>

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