Hi, On 2022-09-26 12:12:15 -0300, Israel Barth Rubio wrote: > Thanks for your review! I have applied the suggested changes, and I'm > submitting the new patch version.
cfbot shows that tests started failing with this version: https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/39/3822 https://cirrus-ci.com/task/5354378189078528?logs=test_world#L267 [11:03:09.595] ============== running regression test queries ============== [11:03:09.595] test file_fdw ... FAILED (test process exited with exit code 2) 441 ms [11:03:09.595] ============== shutting down postmaster ============== [11:03:09.595] [11:03:09.595] ====================== [11:03:09.595] 1 of 1 tests failed. [11:03:09.595] ====================== [11:03:09.595] [11:03:09.595] The differences that caused some tests to fail can be viewed in the [11:03:09.595] file "/tmp/cirrus-ci-build/build/testrun/file_fdw/regress/regression.diffs". A copy of the test summary that you see [11:03:09.595] above is saved in the file "/tmp/cirrus-ci-build/build/testrun/file_fdw/regress/regression.out". [11:03:09.595] [11:03:09.595] # test failed The reason for the failure is a crash: https://api.cirrus-ci.com/v1/artifact/task/5354378189078528/testrun/build/testrun/file_fdw/regress/log/postmaster.log 2022-09-30 11:01:29.228 UTC client backend[26885] pg_regress/file_fdw ERROR: cannot insert into foreign table "p1" 2022-09-30 11:01:29.228 UTC client backend[26885] pg_regress/file_fdw STATEMENT: UPDATE pt set a = 1 where a = 2; TRAP: FailedAssertion("CurrentMemoryContext == econtext->ecxt_per_tuple_memory", File: "../src/backend/commands/copyfromparse.c", Line: 956, PID: 26885) postgres: postgres regression [local] SELECT(ExceptionalCondition+0x8d)[0x559ed2fdf600] postgres: postgres regression [local] SELECT(NextCopyFrom+0x3e4)[0x559ed2c4e3cb] /tmp/cirrus-ci-build/build/tmp_install/usr/local/lib/x86_64-linux-gnu/postgresql/file_fdw.so(+0x2eef)[0x7ff42d072eef] postgres: postgres regression [local] SELECT(+0x2cc400)[0x559ed2cff400] postgres: postgres regression [local] SELECT(+0x2ba0eb)[0x559ed2ced0eb] postgres: postgres regression [local] SELECT(ExecScan+0x6d)[0x559ed2ced178] postgres: postgres regression [local] SELECT(+0x2cc43e)[0x559ed2cff43e] postgres: postgres regression [local] SELECT(+0x2af6d5)[0x559ed2ce26d5] postgres: postgres regression [local] SELECT(standard_ExecutorRun+0x15f)[0x559ed2ce28b0] postgres: postgres regression [local] SELECT(ExecutorRun+0x25)[0x559ed2ce297e] postgres: postgres regression [local] SELECT(+0x47275b)[0x559ed2ea575b] postgres: postgres regression [local] SELECT(PortalRun+0x307)[0x559ed2ea71af] postgres: postgres regression [local] SELECT(+0x47013a)[0x559ed2ea313a] postgres: postgres regression [local] SELECT(PostgresMain+0x774)[0x559ed2ea5054] postgres: postgres regression [local] SELECT(+0x3d41f4)[0x559ed2e071f4] postgres: postgres regression [local] SELECT(+0x3d73a5)[0x559ed2e0a3a5] postgres: postgres regression [local] SELECT(+0x3d75b7)[0x559ed2e0a5b7] postgres: postgres regression [local] SELECT(PostmasterMain+0x1215)[0x559ed2e0bc52] postgres: postgres regression [local] SELECT(main+0x231)[0x559ed2d46f17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7ff43892dd0a] postgres: postgres regression [local] SELECT(_start+0x2a)[0x559ed2b0204a] A full backtrace is at https://api.cirrus-ci.com/v1/task/5354378189078528/logs/cores.log Regards, Andres Freund