Thread: Need help identifying a periodic performance issue.

Need help identifying a periodic performance issue.

From
Robert Creager
Date:

Hello all,

A description of what you are trying to achieve and what results you expect.:

We’re executing the following copy to fill a table with approximately 5k records, then repeating for a total of 250k records.  Normally, this copy executes < 1 second, with the entire set taking a couple of minutes. The problem is not reproducible on command, but usually within a couple of hours of starting some test runs.

COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS ‘|’

But, occasionally we get into a huge performance bottleneck for about 2 hours, where these copy operations are taking 140 seconds or so

Nov 15 22:25:49 sm4u-34 postgres[5799]: [381-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 145326.293 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'

One CPU is pegged, the data has been sent over STDIN, so Postgres is not waiting for more, there are no other queries running using this select:

SELECT pid,
    client_port,
    now() - query_start AS "runtime",
    query_start,
    datname,
    state,
    wait_event_type,
    query,
    usename
FROM pg_stat_activity
WHERE query !~ 'pg_stat_activity' AND
    state != 'idle'
ORDER BY state, runtime DESC;

# pid,client_port,runtime,query_start,datname,state,wait_event_type,query,usename
5799,27136,0 years 0 mons 0 days 0 hours 2 mins 15.534339 secs,2021-11-15 22:23:23.932988 +00:00,tapesystem,active,,"COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'",Administrator

I’m logging statements with pgbadger monitoring the logs. There are no apparent auto-vacuum’s running, nor any vacuums, nor anything at all really. Other select queries around that time frame are executing normally.

We’re coming from PostgreSQL 9.6 on FreeBSD 11 where we did not see this problem, but have a major release upgrade happening.  I’m checking to see if this machine was updated or was a fresh install.

From pbgadger:


PostgreSQL version number you are running:

 PostgreSQL 13.2 on amd64-portbld-freebsd13.0, compiled by FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe), 64-bit

How you installed PostgreSQL:

Ports tree, compiled from source.

Changes made to the settings in the postgresql.conf file

              name               |         current_setting         |       source       
---------------------------------+---------------------------------+--------------------
 application_name                | psql                            | client
 autovacuum_analyze_scale_factor | 0.05                            | configuration file
 autovacuum_analyze_threshold    | 5000                            | configuration file
 autovacuum_max_workers          | 8                               | configuration file
 autovacuum_vacuum_cost_delay    | 5ms                             | configuration file
 autovacuum_vacuum_scale_factor  | 0.1                             | configuration file
 autovacuum_vacuum_threshold     | 5000                            | configuration file
 checkpoint_completion_target    | 0.9                             | configuration file
 checkpoint_timeout              | 30min                           | configuration file
 checkpoint_warning              | 5min                            | configuration file
 client_encoding                 | UTF8                            | client
 commit_delay                    | 1000                            | configuration file
 DateStyle                       | ISO, MDY                        | configuration file
 default_text_search_config      | pg_catalog.english              | configuration file
 dynamic_shared_memory_type      | posix                           | configuration file
 effective_cache_size            | 58076MB                         | configuration file
 effective_io_concurrency        | 200                             | configuration file
 full_page_writes                | off                             | configuration file
 hot_standby                     | off                             | configuration file
 lc_messages                     | C                               | configuration file
 lc_monetary                     | C                               | configuration file
 lc_numeric                      | C                               | configuration file
 lc_time                         | C                               | configuration file
 listen_addresses                | *                               | configuration file
 log_autovacuum_min_duration     | 1s                              | configuration file
 log_checkpoints                 | on                              | configuration file
 log_connections                 | on                              | configuration file
 log_destination                 | syslog                          | configuration file
 log_disconnections              | on                              | configuration file
 log_duration                    | off                             | configuration file
 log_line_prefix                 | db=%d,user=%u,app=%a,client=%h  | configuration file
 log_lock_waits                  | on                              | configuration file
 log_min_duration_sample         | 100ms                           | configuration file
 log_min_duration_statement      | 1ms                             | configuration file
 log_statement_sample_rate       | 0.01                            | configuration file
 log_temp_files                  | 0                               | configuration file
 log_timezone                    | UTC                             | configuration file
 maintenance_work_mem            | 3927MB                          | configuration file
 max_connections                 | 250                             | configuration file
 max_parallel_workers_per_gather | 8                               | configuration file
 max_replication_slots           | 0                               | configuration file
 max_stack_depth                 | 32MB                            | configuration file
 max_wal_senders                 | 0                               | configuration file
 max_wal_size                    | 50GB                            | configuration file
 max_worker_processes            | 8                               | configuration file
 random_page_cost                | 2                               | configuration file
 shared_buffers                  | 21679MB                         | configuration file
 synchronous_commit              | off                             | configuration file
 temp_buffers                    | 1309MB                          | configuration file
 TimeZone                        | UTC                             | configuration file
 track_activities                | on                              | configuration file
 track_counts                    | on                              | configuration file
 update_process_title            | off                             | configuration file
 vacuum_cost_delay               | 1ms                             | configuration file
 wal_init_zero                   | off                             | configuration file
 wal_level                       | minimal                         | configuration file
 wal_recycle                     | off                             | configuration file
 wal_skip_threshold              | 20MB                            | configuration file
 wal_sync_method                 | fsync                           | configuration file
 wal_writer_delay                | 500ms                           | configuration file
 wal_writer_flush_after          | 10MB                            | configuration file
 work_mem                        | 1309MB                          | configuration file


Operating system and version:

FreeBSD sm4u-34 13.0-STABLE FreeBSD 13.0-STABLE #0: Mon Sep 13 10:11:57 MDT 2021

What program you're using to connect to PostgreSQL:

In house Java 1.8 program, JDBC 42.2.20
 
Is there anything relevant or unusual in the PostgreSQL server logs?:

Nope

Other info

tapesystem=# SELECT * FROM pg_config();
       name        |                                                                                                                                                                                                                                                                                                                                                                                                                                        setting                                                                                                                                                                                                                                                                                                                                                                                                                                        
-------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 BINDIR            | /usr/local/bin
 DOCDIR            | /usr/local/share/doc/postgresql
 HTMLDIR           | /usr/local/share/doc/postgresql
 INCLUDEDIR        | /usr/local/include
 PKGINCLUDEDIR     | /usr/local/include/postgresql
 INCLUDEDIR-SERVER | /usr/local/include/postgresql/server
 LIBDIR            | /usr/local/lib
 PKGLIBDIR         | /usr/local/lib/postgresql
 LOCALEDIR         | /usr/local/share/locale
 MANDIR            | /usr/local/man
 SHAREDIR          | /usr/local/share/postgresql
 SYSCONFDIR        | /usr/local/etc/postgresql
 PGXS              | /usr/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk
 CONFIGURE         |  '--with-libraries=/usr/local/lib' '--with-includes=/usr/local/include' '--enable-thread-safety' '--with-icu' '--disable-debug' '--disable-dtrace' '--without-gssapi' '--without-ldap' '--disable-nls' '--without-pam' '--with-openssl' '--with-system-tzdata=/usr/share/zoneinfo' '--without-libxml' '--with-llvm' '--prefix=/usr/local' '--localstatedir=/var' '--mandir=/usr/local/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd13.0' 'build_alias=amd64-portbld-freebsd13.0' 'CC=cc' 'CFLAGS=-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing ' 'LDFLAGS= -L/usr/local/lib -lpthread -L/usr/local/lib  -fstack-protector-strong ' 'LIBS=' 'CPPFLAGS=-I/usr/local/include' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ' 'LLVM_CONFIG=/usr/local/bin/llvm-config11' 'CPP=cpp' 'PKG_CONFIG=pkgconf' 'LDFLAGS_SL='
 CC                | cc
 CPPFLAGS          | -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include
 CFLAGS            | -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
 CFLAGS_SL         | -fPIC -DPIC
 LDFLAGS           | -L/usr/local/lib -lpthread -L/usr/local/lib -fstack-protector-strong -L/usr/local/llvm11/lib -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib'
 LDFLAGS_EX        | 
 LDFLAGS_SL        | 
 LIBS              | -lpgcommon -lpgport -lssl -lcrypto -lz -lreadline -lexecinfo -lm 
 VERSION           | PostgreSQL 13.2

 hw.model: Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
hw.machine: amd64
hw.ncpu: 24

hw.physmem: 137287901184

2 mirrored ZFS SSD disks.  Just for fun, we briefly broke the mirror during one of these slowdowns, nothing changed.

These are the system calls made over 30 seconds from Postgres during a slowdown.

getrusage                                                         1
  access                                                            3
  exit                                                              3
  fork                                                              3
  getrandom                                                         3
  pipe2                                                             3
  procctl                                                           3
  setsid                                                            3
  thr_self                                                          3
  __sysctl                                                          5
  mmap                                                              6
  wait4                                                             6
  kill                                                             11
  select                                                           14
  sigreturn                                                        14
  rename                                                           18
  getpid                                                           21
  fsync                                                            27
  pwrite                                                           27
  openat                                                           28
  sigaction                                                        33
  write                                                            50
  fstat                                                            56
  open                                                             56
  sigprocmask                                                      98
  read                                                            143
  getppid                                                         163
  kqueue                                                          163
  fcntl                                                           175
  close                                                           249
  sendto                                                          629
  kevent                                                         1069
  recvfrom                                                       1192
  lseek                                                          3604
  fstatat                                                       15894

Thanks for any assistance.

Best,
Robert
Attachment

Re: Need help identifying a periodic performance issue.

From
Justin Pryzby
Date:
On Tue, Nov 16, 2021 at 04:43:25AM +0000, Robert Creager wrote:
> We’re executing the following copy to fill a table with approximately 5k records, then repeating for a total of 250k
records. Normally, this copy executes < 1 second, with the entire set taking a couple of minutes. The problem is not
reproducibleon command, but usually within a couple of hours of starting some test runs.
 
> 
> COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS ‘|’
> 
> But, occasionally we get into a huge performance bottleneck for about 2 hours, where these copy operations are taking
140seconds or so
 
> 
> Nov 15 22:25:49 sm4u-34 postgres[5799]: [381-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC
Driver,client=127.0.0.1LOG:  duration: 145326.293 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type,
id,length, object_id) FROM STDIN WITH DELIMITER AS '|'
 

> I’m logging statements with pgbadger monitoring the logs. There are no apparent auto-vacuum’s running, nor any
vacuums,nor anything at all really. Other select queries around that time frame are executing normally.
 

What about checkpoints ?

Would you show the "^checkpoint starting" and "^checkpoint complete" logs
surrounding a slow COPY ?

> We’re coming from PostgreSQL 9.6 on FreeBSD 11 where we did not see this problem, but have a major release upgrade
happening. I’m checking to see if this machine was updated or was a fresh install.
 
>  PostgreSQL 13.2 on amd64-portbld-freebsd13.0, compiled by FreeBSD clang version 11.0.1
(git@github.com<mailto:git@github.com>:llvm/llvm-project.gitllvmorg-11.0.1-0-g43ff75f2c3fe), 64-bit
 
> 
> Changes made to the settings in the postgresql.conf file
>  checkpoint_timeout              | 30min                           | configuration file
>  log_checkpoints                 | on                              | configuration file
>  log_lock_waits                  | on                              | configuration file
...
>  shared_buffers                  | 21679MB                         | configuration file

> Operating system and version:
> FreeBSD sm4u-34 13.0-STABLE FreeBSD 13.0-STABLE #0: Mon Sep 13 10:11:57 MDT 2021

> These are the system calls made over 30 seconds from Postgres during a slowdown.
...
>   fsync                                                            27

-- 
Justin



Re: Need help identifying a periodic performance issue.

From
Thomas Munro
Date:
On Tue, Nov 16, 2021 at 5:43 PM Robert Creager <robertc@spectralogic.com> wrote:
> One CPU is pegged, the data has been sent over STDIN, so Postgres is not waiting for more, there are no other queries
runningusing this select:
 

So PostgreSQL is eating 100% CPU, with no value shown in
wait_event_type, and small numbers of system calls are counted.  In
that case, is there an interesting user stack that jumps out with a
profiler during the slowdown (or the kernel version, stack())?

sudo dtrace -n 'profile-99 /arg0/ { @[ustack()] = count(); } tick-10s
{ exit(0); }'



Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 15, 2021, at 10:29 PM, Justin Pryzby <pryzby@telsasoft.com> wrote:

This message originated outside your organization.

On Tue, Nov 16, 2021 at 04:43:25AM +0000, Robert Creager wrote:
> We’re executing the following copy to fill a table with approximately 5k records, then repeating for a total of 250k records. Normally, this copy executes < 1 second, with the entire set taking a couple of minutes. The problem is not reproducible on command, but usually within a couple of hours of starting some test runs.
>
> COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS ‘|’
>
> But, occasionally we get into a huge performance bottleneck for about 2 hours, where these copy operations are taking 140 seconds or so
>
> Nov 15 22:25:49 sm4u-34 postgres[5799]: [381-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG: duration: 145326.293 ms statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'

> I’m logging statements with pgbadger monitoring the logs. There are no apparent auto-vacuum’s running, nor any vacuums, nor anything at all really. Other select queries around that time frame are executing normally.

What about checkpoints ?

Would you show the "^checkpoint starting" and "^checkpoint complete" logs
surrounding a slow COPY ?

Sorry, it was late last night, I meant to include the checkpoint info. I didn’t have enough logs around the one I pointed out above, my tail got aborted by a reboot.  Working on a log server… From an earlier one:

Nov  5 03:56:28 sm4u-34 postgres[4934]: [2679-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 247 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=26.279 s, sync=0.002 s, total=26.323 s; sync files=142, longest=0.001 s, average=0.001 s; distance=592 kB, estimate=279087 kB
Nov  5 04:26:03 sm4u-34 postgres[4934]: [2680-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 04:26:14 sm4u-34 postgres[4934]: [2681-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 115 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=11.880 s, sync=0.003 s, total=11.885 s; sync files=75, longest=0.001 s, average=0.001 s; distance=541 kB, estimate=251232 kB
Nov  5 04:56:03 sm4u-34 postgres[4934]: [2682-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 04:56:15 sm4u-34 postgres[4934]: [2683-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 103 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=11.011 s, sync=0.002 s, total=11.015 s; sync files=74, longest=0.001 s, average=0.001 s; distance=528 kB, estimate=226162 kB
Nov  5 05:15:28 sm4u-34 postgres[59442]: [24-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 1.059 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 05:26:03 sm4u-34 postgres[4934]: [2684-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 05:26:27 sm4u-34 postgres[4934]: [2685-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 226 buffers (0.0%); 0 WAL file(s) added, 1 removed, 0 recycled; write=24.000 s, sync=0.006 s, total=24.037 s; sync files=122, longest=0.001 s, average=0.001 s; distance=583 kB, estimate=203604 kB
Nov  5 05:56:03 sm4u-34 postgres[4934]: [2686-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 05:56:24 sm4u-34 postgres[4934]: [2687-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 199 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=21.212 s, sync=0.004 s, total=21.218 s; sync files=122, longest=0.001 s, average=0.001 s; distance=580 kB, estimate=183302 kB
Nov  5 06:26:03 sm4u-34 postgres[4934]: [2688-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 06:26:22 sm4u-34 postgres[4934]: [2689-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 178 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=19.078 s, sync=0.005 s, total=19.084 s; sync files=120, longest=0.001 s, average=0.001 s; distance=563 kB, estimate=165028 kB
Nov  5 06:32:27 sm4u-34 postgres[7728]: [213-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 143318.661 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:34:56 sm4u-34 postgres[7728]: [214-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149175.227 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:37:27 sm4u-34 postgres[7728]: [215-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 150440.140 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:39:56 sm4u-34 postgres[7728]: [216-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149521.024 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:42:26 sm4u-34 postgres[7728]: [217-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149182.715 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:44:59 sm4u-34 postgres[7728]: [218-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 153734.718 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:47:26 sm4u-34 postgres[7728]: [219-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 146371.043 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:49:59 sm4u-34 postgres[7728]: [220-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 152996.005 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:52:29 sm4u-34 postgres[7728]: [221-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 150094.597 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:55:03 sm4u-34 postgres[7728]: [222-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 154446.475 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 06:56:03 sm4u-34 postgres[4934]: [2690-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 06:57:33 sm4u-34 postgres[7728]: [223-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149823.562 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:00:06 sm4u-34 postgres[7728]: [224-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 152262.349 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:02:37 sm4u-34 postgres[7728]: [225-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 151812.262 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:05:11 sm4u-34 postgres[7728]: [226-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 152992.509 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:07:46 sm4u-34 postgres[7728]: [227-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 155094.565 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:10:19 sm4u-34 postgres[7728]: [228-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 153728.503 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:12:53 sm4u-34 postgres[7728]: [229-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 153031.260 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:15:26 sm4u-34 postgres[7728]: [230-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 153722.550 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:17:49 sm4u-34 postgres[4934]: [2691-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 12310 buffers (0.4%); 0 WAL file(s) added, 10 removed, 0 recycled; write=1305.144 s, sync=0.001 s, total=1305.178 s; sync files=92, longest=0.001 s, average=0.001 s; distance=172759 kB, estimate=172759 kB
Nov  5 07:18:00 sm4u-34 postgres[7728]: [231-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 153736.774 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:20:25 sm4u-34 postgres[7728]: [232-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 145263.582 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:22:53 sm4u-34 postgres[7728]: [233-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 147632.451 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:25:22 sm4u-34 postgres[7728]: [234-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149081.218 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:26:03 sm4u-34 postgres[4934]: [2692-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 07:27:51 sm4u-34 postgres[7728]: [235-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 148655.719 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:30:20 sm4u-34 postgres[7728]: [236-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 148677.766 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:32:49 sm4u-34 postgres[7728]: [237-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 149493.666 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:34:15 sm4u-34 postgres[7728]: [238-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 85751.267 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 07:40:50 sm4u-34 postgres[4934]: [2693-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 8356 buffers (0.3%); 0 WAL file(s) added, 3 removed, 0 recycled; write=887.648 s, sync=0.001 s, total=887.660 s; sync files=51, longest=0.001 s, average=0.001 s; distance=47063 kB, estimate=160189 kB
Nov  5 07:56:03 sm4u-34 postgres[4934]: [2694-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 08:12:46 sm4u-34 postgres[4934]: [2695-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 9436 buffers (0.3%); 0 WAL file(s) added, 5 removed, 0 recycled; write=1002.606 s, sync=0.002 s, total=1002.627 s; sync files=87, longest=0.001 s, average=0.001 s; distance=77658 kB, estimate=151936 kB
Nov  5 08:26:03 sm4u-34 postgres[4934]: [2696-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov  5 08:38:03 sm4u-34 postgres[7728]: [317-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 206.436 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:04 sm4u-34 postgres[7728]: [318-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 222.790 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:04 sm4u-34 postgres[7728]: [319-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 225.146 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:04 sm4u-34 postgres[7728]: [320-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 217.768 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:04 sm4u-34 postgres[7728]: [321-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 221.421 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:05 sm4u-34 postgres[7728]: [322-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 280.209 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:05 sm4u-34 postgres[7728]: [323-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 224.838 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:05 sm4u-34 postgres[7728]: [324-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 232.646 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:06 sm4u-34 postgres[7728]: [325-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 261.916 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:06 sm4u-34 postgres[7728]: [326-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 252.336 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:06 sm4u-34 postgres[7728]: [327-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 231.334 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:06 sm4u-34 postgres[7728]: [328-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 221.924 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'
Nov  5 08:38:07 sm4u-34 postgres[7728]: [329-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 222.862 ms  statement: COPY ds3.blob (byte_offset, checksum, checksum_type, id, length, object_id) FROM STDIN WITH DELIMITER AS '|'



> We’re coming from PostgreSQL 9.6 on FreeBSD 11 where we did not see this problem, but have a major release upgrade happening. I’m checking to see if this machine was updated or was a fresh install.
> PostgreSQL 13.2 on amd64-portbld-freebsd13.0, compiled by FreeBSD clang version 11.0.1 (git@github.com<mailto:git@github.com>:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe), 64-bit
>
> Changes made to the settings in the postgresql.conf file
> checkpoint_timeout | 30min | configuration file
> log_checkpoints | on | configuration file
> log_lock_waits | on | configuration file
...
> shared_buffers | 21679MB | configuration file

> Operating system and version:
> FreeBSD sm4u-34 13.0-STABLE FreeBSD 13.0-STABLE #0: Mon Sep 13 10:11:57 MDT 2021

> These are the system calls made over 30 seconds from Postgres during a slowdown.
...
> fsync 27

--
Justin

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:

On Nov 15, 2021, at 10:50 PM, Thomas Munro <thomas.munro@gmail.com> wrote:

This message originated outside your organization.

On Tue, Nov 16, 2021 at 5:43 PM Robert Creager <robertc@spectralogic.com> wrote:
One CPU is pegged, the data has been sent over STDIN, so Postgres is not waiting for more, there are no other queries running using this select:

So PostgreSQL is eating 100% CPU, with no value shown in
wait_event_type, and small numbers of system calls are counted.  In
that case, is there an interesting user stack that jumps out with a
profiler during the slowdown (or the kernel version, stack())?

sudo dtrace -n 'profile-99 /arg0/ { @[ustack()] = count(); } tick-10s
{ exit(0); }

I setup a monitoring script to do the dtrace stack sampler you sent once a minute on the top CPU consuming Postgres process.  Now I wait until we reproduce it.

#!/usr/local/bin/bash

while [[ true ]]; do
   DATE=$(date "+%d-%H:%M:%S")
   PID=$(top -b | grep postgres | head -n 1  | awk '{print $1}')
   echo "${DATE} ${PID}"
   dtrace -n 'profile-99 /pid == '$PID'/ { @[ustack()] = count(); } tick-10s { exit(0); }' > dtrace/dtrace_${DATE}.txt
   sleep 60
done

Presuming this is the type of output you are expecting:

CPU     ID                    FUNCTION:NAME
  0  58709                        :tick-10s 


              postgres`AtEOXact_LargeObject+0x11
              postgres`CommitTransaction+0x127
              postgres`CommitTransactionCommand+0xf2
              postgres`PostgresMain+0x1fef
              postgres`process_startup_packet_die
              postgres`0x73055b
              postgres`PostmasterMain+0xf36
              postgres`0x697837
              postgres`_start+0x100
              `0x80095f008
                1

              postgres`printtup+0xf3
              postgres`standard_ExecutorRun+0x136
              postgres`PortalRunSelect+0x10f
              postgres`PortalRun+0x1c8
              postgres`PostgresMain+0x1f94
              postgres`process_startup_packet_die
              postgres`0x73055b
              postgres`PostmasterMain+0xf36
              postgres`0x697837
              postgres`_start+0x100
              `0x80095f008
                1
...


Re: Need help identifying a periodic performance issue.

From
Thomas Munro
Date:
On Wed, Nov 17, 2021 at 11:40 AM Robert Creager
<robertc@spectralogic.com> wrote:
> Presuming this is the type of output you are expecting:
>
> CPU     ID                    FUNCTION:NAME
>   0  58709                        :tick-10s
>
>
>               postgres`AtEOXact_LargeObject+0x11
>               postgres`CommitTransaction+0x127
>               postgres`CommitTransactionCommand+0xf2
>               postgres`PostgresMain+0x1fef
>               postgres`process_startup_packet_die
>               postgres`0x73055b
>               postgres`PostmasterMain+0xf36
>               postgres`0x697837
>               postgres`_start+0x100
>               `0x80095f008
>                 1

It's the right output format, but isn't /pid == '$PID'/ only going to
match one single process called "postgres"?   Maybe /execname ==
"postgres"/ to catch them all?  Hopefully it'll be obvious what's
going on from an outlier stack with a high sample count.  Can also be
useful to convert the output to flamegraph format if CPU time is
distributed over many distinct stacks.



Re: Need help identifying a periodic performance issue.

From
Thomas Munro
Date:
On Wed, Nov 17, 2021 at 11:51 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> It's the right output format, but isn't /pid == '$PID'/ only going to
> match one single process called "postgres"?   Maybe /execname ==
> "postgres"/ to catch them all?

Oh, duh, it's the top CPU one.  Makes sense.  Never mind :-)



Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 15, 2021, at 10:50 PM, Thomas Munro <thomas.munro@gmail.com> wrote:

This message originated outside your organization.

On Tue, Nov 16, 2021 at 5:43 PM Robert Creager <robertc@spectralogic.com> wrote:
One CPU is pegged, the data has been sent over STDIN, so Postgres is not waiting for more, there are no other queries running using this select:

So PostgreSQL is eating 100% CPU, with no value shown in
wait_event_type, and small numbers of system calls are counted.  In
that case, is there an interesting user stack that jumps out with a
profiler during the slowdown (or the kernel version, stack())?

sudo dtrace -n 'profile-99 /arg0/ { @[ustack()] = count(); } tick-10s
{ exit(0); }

Ok, here is the logs around a dtrace included.  I have dtaces every 1m10s, and the two I looked at, the last entry, were the same.

egrep "( checkpoint |COPY ds3.job_entry|COPY ds3.blob|vacuum)” postgres.log
...
Nov 17 06:19:55 sm2u-10 postgres[71885]: [57-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 5843 buffers (0.2%); 1 WAL file(s) added, 2 removed, 0 recycled; write=617.324 s, sync=0.029 s, total=617.42
3 s; sync files=62, longest=0.028 s, average=0.001 s; distance=33368 kB, estimate=213837 kB
Nov 17 06:22:07 sm2u-10 postgres[72628]: [29-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 199171.920 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:24:38 sm2u-10 postgres[71885]: [58-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov 17 06:25:21 sm2u-10 postgres[72628]: [30-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 193812.868 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:28:39 sm2u-10 postgres[72628]: [31-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 197402.732 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:31:53 sm2u-10 postgres[72628]: [32-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 194173.569 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:35:09 sm2u-10 postgres[72628]: [33-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 195687.516 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:35:46 sm2u-10 postgres[71885]: [59-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 6314 buffers (0.2%); 0 WAL file(s) added, 2 removed, 0 recycled; write=667.531 s, sync=0.260 s, total=667.86
3 s; sync files=54, longest=0.192 s, average=0.005 s; distance=27410 kB, estimate=195194 kB
Nov 17 06:38:22 sm2u-10 postgres[72628]: [34-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 193470.003 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, jo
b_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:39:38 sm2u-10 postgres[71885]: [60-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov 17 06:41:38 sm2u-10 postgres[72628]: [35-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 195634.058 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, job_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:44:51 sm2u-10 postgres[72628]: [36-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 192194.098 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, job_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:48:01 sm2u-10 postgres[72628]: [37-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 190761.032 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, job_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:51:12 sm2u-10 postgres[72628]: [38-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 190892.036 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, job_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:52:54 sm2u-10 postgres[71885]: [61-1] db=,user=,app=,client= LOG:  checkpoint complete: wrote 7530 buffers (0.3%); 1 WAL file(s) added, 2 removed, 0 recycled; write=795.559 s, sync=0.018 s, total=795.647 s; sync files=59, longest=0.018 s, average=0.001 s; distance=33884 kB, estimate=179063 kB
Nov 17 06:53:07 sm2u-10 postgres[72628]: [39-1] db=tapesystem,user=Administrator,app=PostgreSQL JDBC Driver,client=127.0.0.1 LOG:  duration: 114084.629 ms  statement: COPY ds3.job_entry (blob_id, chunk_id, id, job_id, order_index) FROM STDIN WITH DELIMITER AS '|'
Nov 17 06:53:24 sm2u-10 postgres[22492]: [7-1] db=,user=,app=,client= LOG:  automatic vacuum of table "tapesystem.ds3.s3_object": index scans: 1
Nov 17 06:53:27 sm2u-10 postgres[22492]: [8-1] db=,user=,app=,client= LOG:  automatic vacuum of table "tapesystem.ds3.job_entry": index scans: 1
Nov 17 06:54:38 sm2u-10 postgres[71885]: [62-1] db=,user=,app=,client= LOG:  checkpoint starting: time
Nov 17 06:55:29 sm2u-10 postgres[22844]: [7-1] db=,user=,app=,client= LOG:  automatic vacuum of table "tapesystem.ds3.s3_object": index scans: 1
Nov 17 06:55:33 sm2u-10 postgres[22844]: [8-1] db=,user=,app=,client= LOG:  automatic vacuum of table "tapesystem.ds3.blob": index scans: 1
Nov 17 06:55:37 sm2u-10 postgres[22844]: [9-1] db=,user=,app=,client= LOG:  automatic vacuum of table "tapesystem.ds3.job_entry": index scans: 1
...

The dtrace is from 17 6:43:13.  Wasn’t sure if I should attack files, so it’s pasted in it’s entirety. 

CPU     ID                    FUNCTION:NAME
  0  58712                        :tick-10s 


              postgres`CheckForSerializableConflictOutNeeded+0x10
              postgres`HeapCheckForSerializableConflictOut+0x35
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`SeqNext+0x80
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgettup_pagemode+0x150
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`LWLockAcquire+0x1
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`LWLockAcquire+0x1
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`heapgetpage+0x292
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`SeqNext+0x83
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecScanFetch+0x14
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`standard_ExecutorStart+0x614
              postgres`_SPI_execute_plan+0x50f
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
              postgres`process_startup_packet_die
              postgres`0x73055b
                1

              postgres`HeapTupleHeaderGetCmin+0x4
              postgres`HeapTupleSatisfiesVisibility+0x8e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`tts_buffer_heap_getsomeattrs+0x165
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`SeqNext+0x85
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heap_getnextslot+0x65
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ResourceOwnerRememberBuffer+0x75
              postgres`PinBuffer+0x13e
              postgres`ReadBuffer_common+0x142
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                1

              postgres`heap_getnextslot+0x66
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecStoreBufferHeapTuple+0x9
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`MemoryContextReset+0x9
              postgres`ExecScan+0xb9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`tts_buffer_heap_getsomeattrs+0x16a
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`IncrBufferRefCount+0x1a
              postgres`ExecStoreBufferHeapTuple+0x8a
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecScan+0xeb
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`PinBuffer+0x5b
              postgres`ReadBuffer_common+0x142
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                1

              postgres`tts_buffer_heap_getsomeattrs+0x16c
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x6f
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x1dd3
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ReadBufferExtended+0xb3
              postgres`heap_fetch+0x2c
              postgres`heapam_fetch_row_version+0x3e
              postgres`afterTriggerInvokeEvents+0x39b
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
              postgres`process_startup_packet_die
              postgres`0x73055b
              postgres`PostmasterMain+0xf36
              postgres`0x697837
              postgres`_start+0x100
              `0x80095f008
                1

              postgres`heapgettup_pagemode+0x664
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heapgettup_pagemode+0x666
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x177
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x278
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecScanFetch+0x29
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecStoreBufferHeapTuple+0x19
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`LWLockRelease+0x39
              postgres`heapgetpage+0x271
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`tts_buffer_heap_getsomeattrs+0x37d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heapgetpage+0x1ae
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecScanFetch+0x30
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`tts_buffer_heap_getsomeattrs+0x284
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x1e4
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`hash_search_with_hash_value+0xd5
              postgres`BufTableLookup+0x1a
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                1

              postgres`ExecStoreBufferHeapTuple+0x26
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapCheckForSerializableConflictOut+0x6
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x1de9
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ReadBufferExtended+0xcb
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x1ec
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`RecoveryInProgress
              postgres`heapgetpage+0x84
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`heapam_slot_callbacks+0x1
              postgres`EvalPlanQualSlot+0x46
              postgres`ExecLockRows+0xdd
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`TransactionIdIsCurrentTransactionId+0x82
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`tts_buffer_heap_getsomeattrs+0x93
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapCheckForSerializableConflictOut+0x16
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ResourceOwnerForgetBuffer+0x6
              postgres`UnpinBuffer+0xd9
              postgres`ExecStoreBufferHeapTuple+0x79
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`CheckForSerializableConflictOutNeeded+0x4a
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`HeapCheckForSerializableConflictOut+0x1c
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`tts_buffer_heap_getsomeattrs+0x9d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapCheckForSerializableConflictOut+0x1f
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`heapgettup_pagemode+0x18f
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              libc.so.7`memcmp
              postgres`BufTableLookup+0x1a
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                1

              postgres`ReadBuffer_common+0xd2
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`BufTableLookup+0x23
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`tts_buffer_heap_getsomeattrs+0x2a4
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`LWLockAcquire+0x44
              postgres`ReadBuffer_common+0x10a
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                1

              postgres`ExecInterpExpr+0x805
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgetpage+0xd6
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`HeapCheckForSerializableConflictOut+0x26
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecStoreBufferHeapTuple+0x47
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`MemoryContextReset+0x4a
              postgres`ExecScan+0xb9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`MemoryContextReset+0x4b
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`tts_buffer_heap_getsomeattrs+0xac
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x2ac
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecStoreBufferHeapTuple+0x4d
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heapgetpage+0x1df
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`int4hashfast+0x20
              postgres`CatalogCacheComputeHashValue+0x6e
              postgres`SearchCatCacheInternal+0x73
              postgres`TupleDescInitEntry+0xcb
              postgres`ExecTypeFromTLInternal+0xa9
              postgres`ExecInitJunkFilter+0x12
              postgres`standard_ExecutorStart+0x644
              postgres`_SPI_execute_plan+0x50f
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecStoreBufferHeapTuple+0x51
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`GetPrivateRefCountEntry+0x12
              postgres`IncrBufferRefCount+0x24
              postgres`ExecStoreBufferHeapTuple+0x8a
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecEvalParamExtern+0x4
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`PinBuffer+0xa5
              postgres`ReadBuffer_common+0x142
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                1

              postgres`ExecStoreBufferHeapTuple+0x58
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecEvalParamExtern+0x9
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecInterpExpr+0x819
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecInterpExpr+0x1b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`HeapTupleSatisfiesVisibility+0xbed
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x1f
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgetpage+0x1f1
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`spi_printtup+0x32
              postgres`standard_ExecutorRun+0x136
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
              postgres`process_startup_packet_die
                1

              postgres`HeapTupleSatisfiesVisibility+0xbf2
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`tts_buffer_heap_getsomeattrs+0xc3
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ResourceArrayEnlarge+0x233
              postgres`ReadBuffer_common+0x53
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                1

              postgres`HeapTupleSatisfiesVisibility+0xbf4
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              libc.so.7`memset+0x37
              postgres`heap_form_tuple+0xa1
              postgres`spi_printtup+0x66
              postgres`standard_ExecutorRun+0x136
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgettup_pagemode+0x2b8
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x28
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgetpage+0x1f9
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecInterpExpr+0x12c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecEvalParamExtern+0x20
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`heapgetpage+0x1
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapTupleSatisfiesVisibility+0x4
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x35
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecInterpExpr+0x835
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgetpage+0x207
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`HeapTupleSatisfiesVisibility+0x8
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x39
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecInterpExpr+0x839
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`HeapTupleSatisfiesVisibility+0xd
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecEvalParamExtern+0x30
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`SeqNext
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`table_slot_create+0x1
              postgres`ExecLockRows+0xdd
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`heapgettup_pagemode+0x2d2
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x143
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgettup_pagemode+0x4d4
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapCheckForSerializableConflictOut+0x165
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecEvalParamExtern+0x36
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`SeqNext+0x6
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgetpage+0x21a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ReadBuffer_common+0x1b
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`tts_buffer_heap_getsomeattrs+0xec
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x4c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`hash_search_with_hash_value+0x643
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                1

              postgres`heapgetpage+0x224
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ResourceArrayRemove+0x7
              postgres`ResourceOwnerForgetBuffer+0x19
              postgres`UnpinBuffer+0xd9
              postgres`ExecStoreBufferHeapTuple+0x79
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`HeapTupleSatisfiesVisibility+0x2b
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecStoreBufferHeapTuple+0x9d
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapTupleSatisfiesVisibility+0x2e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x5f
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecEvalParamExtern+0x52
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`SeqNext+0x23
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`uuid_eq+0x4
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`heap_getnextslot+0x4
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`GetCachedPlan+0x1a5
              postgres`_SPI_execute_plan+0x1df
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
              postgres`process_startup_packet_die
              postgres`0x73055b
                1

              postgres`ExecInterpExpr+0x66
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heap_getnextslot+0x7
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`tts_buffer_heap_getsomeattrs+0x8
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x108
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0xa
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`hash_search_with_hash_value+0x5b
              postgres`BufTableLookup+0x1a
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                1

              postgres`ExecEvalParamExtern+0x5d
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecInterpExpr+0x6d
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecInterpExpr+0x570
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`TransactionIdIsCurrentTransactionId+0x1
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`heap_getnextslot+0x11
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`slot_getsomeattrs_int+0x4
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`heapgettup_pagemode+0x4
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ReleaseBuffer+0x24
              postgres`ExecStoreBufferHeapTuple+0x79
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`heapgetpage+0x246
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecEvalParamExtern+0x67
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`uuid_eq+0x18
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`slot_getsomeattrs_int+0x8
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`TransactionIdIsCurrentTransactionId+0x8
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`heapgetpage+0x249
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`slot_getsomeattrs_int+0xb
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecInterpExpr+0x57b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`TransactionIdIsCurrentTransactionId+0xc
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`heapgetpage+0x24c
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`heapgettup_pagemode+0xc
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`TransactionIdIsCurrentTransactionId+0xd
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`ExecInterpExpr+0x7f
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`uuid_eq+0x24
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecInterpExpr+0x584
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`tts_buffer_heap_getsomeattrs+0x2a
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecEvalParamExtern+0x7a
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`heapgetpage+0x25c
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`TransactionIdIsCurrentTransactionId+0x1e
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`TransactionIdIsCurrentTransactionId+0x22
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`ExecScan+0xb4
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`SeqNext+0x57
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecScan+0xb9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x3a
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecEvalParamExtern+0x8c
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`HeapTupleSatisfiesVisibility+0x6c
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecInterpExpr+0x9c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`SeqNext+0x61
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              libc.so.7`bsearch+0x1
              postgres`ExecInterpExprStillValid+0x18
              postgres`ExecReScanIndexScan+0xa5
              postgres`ExecReScan+0x1ff
              postgres`ExecIndexScan+0x23
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`heap_getnextslot+0x41
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`slot_getsomeattrs_int+0x33
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`slot_getsomeattrs_int+0x35
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`slot_getsomeattrs_int+0x38
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`SeqNext+0x68
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`ExecScanFetch+0xf9
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgettup_pagemode+0x339
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x5a9
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`heapgettup_pagemode+0x33d
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heap_getnextslot+0x4d
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                1

              postgres`ExecScanFetch+0xfe
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`ExecScanFetch
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`CheckForSerializableConflictOutNeeded
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`heapgetpage+0x180
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                1

              postgres`ExecScanFetch+0x1
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`CheckForSerializableConflictOutNeeded+0x1
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                1

              postgres`tts_buffer_heap_getsomeattrs+0x254
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`CheckForSerializableConflictOutNeeded+0x5
              postgres`HeapCheckForSerializableConflictOut+0x35
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`ExecScanFetch+0x6
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`CheckForSerializableConflictOutNeeded+0x6
              postgres`HeapCheckForSerializableConflictOut+0x35
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                1

              postgres`ExecScanFetch+0x107
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`ExecScan+0xd7
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                1

              postgres`ExecScanFetch+0x8
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`tts_buffer_heap_getsomeattrs+0x258
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heapgettup_pagemode+0x49
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x5a
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`ExecInterpExpr+0x1dbb
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                1

              postgres`tts_buffer_heap_getsomeattrs+0x25b
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x15d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`heapgettup_pagemode+0x64d
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`tts_buffer_heap_getsomeattrs+0x5f
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                1

              postgres`HeapTupleHeaderGetCmin
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`ExecStoreBufferHeapTuple+0x6
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`HeapTupleSatisfiesVisibility+0x98
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`HeapTupleHeaderGetCmin+0xb
              postgres`HeapTupleSatisfiesVisibility+0x8e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                2

              postgres`heapgetpage+0x1a5
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`tts_buffer_heap_getsomeattrs+0x77
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`heapgetpage+0x1ab
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`ExecScan+0xfc
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                2

              postgres`HeapTupleSatisfiesVisibility+0xac
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`ExecInterpExpr+0x1de0
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`HeapCheckForSerializableConflictOut+0x4
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`ExecInterpExpr+0x1de7
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`HeapCheckForSerializableConflictOut+0x8
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`heapgetpage+0x1bb
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`tts_buffer_heap_getsomeattrs+0x18d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`HeapCheckForSerializableConflictOut+0xd
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`CheckForSerializableConflictOutNeeded+0x42
              postgres`HeapCheckForSerializableConflictOut+0x35
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                2

              postgres`heapgetpage+0x1c6
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`tts_buffer_heap_getsomeattrs+0x2a0
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecInterpExpr+0xb06
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`tts_buffer_heap_getsomeattrs+0x2a8
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`heapgetpage+0x1d8
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`ExecInterpExpr+0x8
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecInterpExpr+0xa
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecInterpExpr+0x80a
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`tts_buffer_heap_getsomeattrs+0xb0
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecEvalParamExtern
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecEvalParamExtern+0x6
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`heapgetpage+0x1ea
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`ExecInterpExpr+0x822
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`tts_buffer_heap_getsomeattrs+0xc7
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0xce
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0xd6
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`HeapTupleSatisfiesVisibility+0x6
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`heapgetpage+0x20a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`HeapTupleSatisfiesVisibility+0xc
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`HeapCheckForSerializableConflictOut+0x162
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`tts_buffer_heap_getsomeattrs+0xe5
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`heapgetpage+0x215
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`HeapCheckForSerializableConflictOut+0x16c
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`heapgettup_pagemode+0x2e4
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0xf8
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0x100
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`heapgettup_pagemode+0x2f2
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0x103
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`tts_buffer_heap_getsomeattrs+0x4
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecInterpExpr+0x566
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`HeapTupleSatisfiesVisibility+0x38
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`tts_buffer_heap_getsomeattrs+0x10d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`heapgettup_pagemode
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`heapgettup_pagemode+0x1
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`tts_buffer_heap_getsomeattrs+0x114
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecInterpExpr+0x577
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`tts_buffer_heap_getsomeattrs+0x118
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecInterpExpr+0x78
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`slot_getsomeattrs_int+0xa
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`TransactionIdIsCurrentTransactionId+0xa
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                2

              postgres`heapgetpage+0x250
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                2

              postgres`ExecEvalParamExtern+0x71
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`tts_buffer_heap_getsomeattrs+0x124
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`HeapTupleSatisfiesVisibility+0x55
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`heap_getnextslot+0x26
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`heapgettup_pagemode+0x17
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`slot_getsomeattrs_int+0x1a
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`slot_getsomeattrs_int+0x1d
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                2

              postgres`LWLockRelease+0xed
              postgres`heapgetpage+0x271
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                2

              postgres`heapgettup_pagemode+0x24
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecInterpExpr+0x594
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`hash_search_with_hash_value+0x85
              postgres`BufTableLookup+0x1a
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                2

              postgres`ExecInterpExpr+0x597
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`heapgettup_pagemode+0x335
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`ExecScanFetch+0xf6
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`SeqNext+0x6e
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecScanFetch+0x4
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecScanFetch+0x104
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`heapgettup_pagemode+0x45
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                2

              postgres`SeqNext+0x79
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecScanFetch+0xa
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecScanFetch+0xe
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                2

              postgres`ExecScan+0xe4
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                3

              postgres`HeapTupleHeaderGetCmin+0x7
              postgres`HeapTupleSatisfiesVisibility+0x8e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                3

              postgres`heapgettup_pagemode+0x65c
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`tts_buffer_heap_getsomeattrs+0x280
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`CheckForSerializableConflictOutNeeded+0x49
              postgres`HeapCheckForSerializableConflictOut+0x35
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                3

              postgres`TransactionIdIsCurrentTransactionId+0x8d
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                3

              postgres`ExecInterpExpr+0x800
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`MemoryContextReset+0x45
              postgres`ExecScan+0xb9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`heapgetpage+0x6
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                3

              postgres`tts_buffer_heap_getsomeattrs+0xdf
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`tts_buffer_heap_getsomeattrs+0xe9
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`HeapCheckForSerializableConflictOut+0x169
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                3

              postgres`heapgetpage+0x228
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                3

              postgres`ExecStoreBufferHeapTuple+0x99
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`ExecEvalParamExtern+0x4b
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                3

              postgres`uuid_eq
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`tts_buffer_heap_getsomeattrs+0xc
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`uuid_eq+0x10
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                3

              postgres`slot_getsomeattrs_int
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`heapgetpage+0x242
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                3

              postgres`slot_getsomeattrs_int+0x6
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                3

              postgres`heapgettup_pagemode+0x6
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`tts_buffer_heap_getsomeattrs+0x19
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`uuid_eq+0x1c
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                3

              postgres`heapgettup_pagemode+0x14
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`ExecEvalParamExtern+0x78
              postgres`ExecInterpExpr+0xb0b
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                3

              postgres`heapgetpage+0x258
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                3

              postgres`ExecInterpExpr+0x91
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`PinBuffer+0x26
              postgres`ReadBuffer_common+0x142
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
                3

              postgres`heapgettup_pagemode+0x328
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`ExecEvalParamExtern+0x91
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`ExecScanFetch+0xfd
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`SeqNext+0x73
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                3

              postgres`heapgettup_pagemode+0x14c
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                3

              postgres`SeqNext+0x81
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                4

              postgres`heapgettup_pagemode+0x5d
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`tts_buffer_heap_getsomeattrs+0x74
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`tts_buffer_heap_getsomeattrs+0x379
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`heapgetpage+0x1b1
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                4

              postgres`tts_buffer_heap_getsomeattrs+0x386
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`HeapCheckForSerializableConflictOut+0xa
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                4

              postgres`TransactionIdIsCurrentTransactionId+0x86
              postgres`HeapTupleSatisfiesVisibility+0x7e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
                4

              postgres`tts_buffer_heap_getsomeattrs+0x9f
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`ExecInterpExpr+0x1
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                4

              postgres`HeapTupleSatisfiesVisibility+0xbd9
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                4

              postgres`ExecInterpExpr+0x14
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                4

              postgres`heapgetpage+0x1ed
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                4

              postgres`ExecInterpExpr+0x830
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                4

              postgres`SeqNext+0x1
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                4

              postgres`SeqNext+0x4
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                4

              postgres`tts_buffer_heap_getsomeattrs+0xee
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`tts_buffer_heap_getsomeattrs+0xf1
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`tts_buffer_heap_getsomeattrs
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`tts_buffer_heap_getsomeattrs+0x1
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`heap_getnextslot+0x1
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                4

              postgres`heap_getnextslot+0x6
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`tts_buffer_heap_getsomeattrs+0xd
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`uuid_eq+0x14
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`uuid_eq+0x27
              postgres`ExecInterpExpr+0x58c
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`heap_getnextslot+0x39
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`heapgettup_pagemode+0x646
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                4

              postgres`heap_getnextslot+0x57
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                4

              postgres`HeapTupleSatisfiesVisibility+0x8e
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                4

              postgres`ExecStoreBufferHeapTuple+0x1
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                5

              postgres`ExecInterpExpr+0x1dcc
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                5

              postgres`tts_buffer_heap_getsomeattrs+0x36f
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`ExecStoreBufferHeapTuple+0x22
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`ExecInterpExpr+0x808
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                5

              postgres`HeapTupleSatisfiesVisibility+0xbea
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                5

              postgres`HeapCheckForSerializableConflictOut+0x15e
              postgres`heapgetpage+0x255
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                5

              postgres`tts_buffer_heap_getsomeattrs+0xf4
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`slot_getsomeattrs_int+0x1
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                5

              postgres`HeapTupleSatisfiesVisibility+0x44
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                5

              postgres`slot_getsomeattrs_int+0x2b
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
                5

              postgres`heapgettup_pagemode+0x32c
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`ExecScan+0xc4
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                5

              postgres`heapgettup_pagemode+0x38
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`heapgettup_pagemode+0x346
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`tts_buffer_heap_getsomeattrs+0x159
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                5

              postgres`ExecStoreBufferHeapTuple+0xf
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                6

              postgres`ExecInterpExpr+0x1d0
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                6

              postgres`HeapCheckForSerializableConflictOut+0x1
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                6

              postgres`ExecStoreBufferHeapTuple+0x5f
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                6

              postgres`SeqNext+0x9
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                6

              postgres`heap_getnextslot
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                6

              postgres`tts_buffer_heap_getsomeattrs+0x106
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                6

              postgres`heapgetpage+0x23b
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
                6

              postgres`heapgettup_pagemode+0x332
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                6

              postgres`HeapTupleSatisfiesVisibility+0x75
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                6

              postgres`hash_search_with_hash_value+0xa5
              postgres`BufTableLookup+0x1a
              postgres`ReadBuffer_common+0x116
              postgres`ReadBufferExtended+0x9c
              postgres`heapgetpage+0x5a
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
                6

              postgres`heap_page_prune_opt+0xc8
              postgres`heapgetpage+0x84
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                6

              postgres`tts_buffer_heap_getsomeattrs+0x365
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                7

              postgres`ExecStoreBufferHeapTuple+0x64
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                7

              postgres`ExecInterpExpr+0x575
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                7

              postgres`tts_buffer_heap_getsomeattrs+0x3d
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                7

              postgres`tts_buffer_heap_getsomeattrs+0xd2
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                8

              postgres`SeqNext+0x5e
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                8

              postgres`HeapTupleSatisfiesVisibility+0x79
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
                8

              postgres`tts_buffer_heap_getsomeattrs+0x369
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
                9

              postgres`ExecScan+0x107
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
              postgres`PostgresMain+0x49c
                9

              postgres`uuid_eq+0x1
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                9

              postgres`SeqNext+0x5a
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
              postgres`exec_simple_query+0x623
                9

              postgres`heap_getnextslot+0x3e
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
              postgres`PortalRun+0x1a0
               10

              postgres`HeapTupleHeaderGetCmin+0x1
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
               11

              postgres`heapgetpage+0x1b7
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
               13

              postgres`ExecStoreBufferHeapTuple+0x5c
              postgres`heap_getnextslot+0x49
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
               16

              postgres`tts_buffer_heap_getsomeattrs+0xfd
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
               17

              postgres`tts_buffer_heap_getsomeattrs+0x36c
              postgres`slot_getsomeattrs_int+0x27
              postgres`ExecInterpExpr+0x140
              postgres`ExecScan+0x100
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
              postgres`PortalRunUtility+0x66
              postgres`PortalRunMulti+0x13c
               34

              postgres`HeapTupleSatisfiesVisibility+0x42
              postgres`heapgetpage+0x237
              postgres`heapgettup_pagemode+0x5ad
              postgres`heap_getnextslot+0x52
              postgres`SeqNext+0x71
              postgres`ExecScan+0xc9
              postgres`ExecLockRows+0x7b
              postgres`standard_ExecutorRun+0x10a
              postgres`_SPI_execute_plan+0x524
              postgres`SPI_execute_snapshot+0x116
              postgres`ri_PerformCheck+0x29e
              postgres`RI_FKey_check+0x5d3
              postgres`RI_FKey_check_ins+0x21
              postgres`ExecCallTriggerFunc+0x105
              postgres`afterTriggerInvokeEvents+0x605
              postgres`AfterTriggerEndQuery+0x7a
              postgres`CopyFrom+0xaca
              postgres`DoCopy+0x553
              postgres`standard_ProcessUtility+0x5f9
              postgres`ProcessUtility+0x28
               55

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 17, 2021, at 10:51 AM, Robert Creager <robertc@spectralogic.com> wrote:



On Nov 15, 2021, at 10:50 PM, Thomas Munro <thomas.munro@gmail.com> wrote:

This message originated outside your organization.

On Tue, Nov 16, 2021 at 5:43 PM Robert Creager <robertc@spectralogic.com> wrote:
One CPU is pegged, the data has been sent over STDIN, so Postgres is not waiting for more, there are no other queries running using this select:

So PostgreSQL is eating 100% CPU, with no value shown in
wait_event_type, and small numbers of system calls are counted.  In
that case, is there an interesting user stack that jumps out with a
profiler during the slowdown (or the kernel version, stack())?

sudo dtrace -n 'profile-99 /arg0/ { @[ustack()] = count(); } tick-10s
{ exit(0); }

Ok, here is the logs around a dtrace included.  I have dtaces every 1m10s, and the two I looked at, the last entry, were the same.

Also, the wall settings are different on this machine, had changed them on the original email submittal to see if it was related.

tapesystem=# SELECT name, current_setting(name), source
  FROM pg_settings
  WHERE source NOT IN ('default', 'override');
              name               |         current_setting         |       source       
---------------------------------+---------------------------------+--------------------
 application_name                | psql                            | client
 autovacuum_analyze_scale_factor | 0.05                            | configuration file
 autovacuum_analyze_threshold    | 5000                            | configuration file
 autovacuum_max_workers          | 8                               | configuration file
 autovacuum_vacuum_cost_delay    | 5ms                             | configuration file
 autovacuum_vacuum_scale_factor  | 0.1                             | configuration file
 autovacuum_vacuum_threshold     | 5000                            | configuration file
 checkpoint_completion_target    | 0.9                             | configuration file
 checkpoint_timeout              | 15min                           | configuration file
 client_encoding                 | UTF8                            | client
 DateStyle                       | ISO, MDY                        | configuration file
 default_text_search_config      | pg_catalog.english              | configuration file
 dynamic_shared_memory_type      | posix                           | configuration file
 effective_cache_size            | 6546MB                          | configuration file
 effective_io_concurrency        | 200                             | configuration file
 full_page_writes                | off                             | configuration file
 hot_standby                     | off                             | configuration file
 lc_messages                     | C                               | configuration file
 lc_monetary                     | C                               | configuration file
 lc_numeric                      | C                               | configuration file
 lc_time                         | C                               | configuration file
 listen_addresses                | *                               | configuration file
 log_autovacuum_min_duration     | 1s                              | configuration file
 log_checkpoints                 | on                              | configuration file
 log_connections                 | on                              | configuration file
 log_destination                 | syslog                          | configuration file
 log_disconnections              | on                              | configuration file
 log_duration                    | off                             | configuration file
 log_line_prefix                 | db=%d,user=%u,app=%a,client=%h  | configuration file
 log_lock_waits                  | on                              | configuration file
 log_min_duration_sample         | 500ms                           | configuration file
 log_min_duration_statement      | 1s                              | configuration file
 log_statement_sample_rate       | 0.01                            | configuration file
 log_temp_files                  | 0                               | configuration file
 log_timezone                    | UTC                             | configuration file
 maintenance_work_mem            | 1964MB                          | configuration file
 max_connections                 | 250                             | configuration file
 max_parallel_workers_per_gather | 8                               | configuration file
 max_replication_slots           | 0                               | configuration file
 max_stack_depth                 | 32MB                            | configuration file
 max_wal_senders                 | 0                               | configuration file
 max_wal_size                    | 10GB                            | configuration file
 max_worker_processes            | 8                               | configuration file
 random_page_cost                | 2                               | configuration file
 shared_buffers                  | 22064MB                         | configuration file
 synchronous_commit              | off                             | configuration file
 temp_buffers                    | 654MB                           | configuration file
 TimeZone                        | UTC                             | configuration file
 track_activities                | on                              | configuration file
 track_counts                    | on                              | configuration file
 update_process_title            | off                             | configuration file
 vacuum_cost_delay               | 1ms                             | configuration file
 wal_init_zero                   | off                             | configuration file
 wal_level                       | minimal                         | configuration file
 wal_recycle                     | off                             | configuration file
 work_mem                        | 654MB                           | configuration file

Re: Need help identifying a periodic performance issue.

From
Tom Lane
Date:
Justin Pryzby <pryzby@telsasoft.com> writes:
> It shows that the process is running FK triggers.

Indeed, and doing a seqscan therein.  Normally I'd suppose that
this reflects a lack of an index, but RI_FKey_check should always
be doing something that matches the referenced table's unique
constraint, so why isn't it using that?

            regards, tom lane



Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 17, 2021, at 12:00 PM, Justin Pryzby <pryzby@telsasoft.com> wrote:

This message originated outside your organization.

On Wed, Nov 17, 2021 at 05:51:05PM +0000, Robert Creager wrote:
             postgres`HeapTupleSatisfiesVisibility+0x42
             postgres`heapgetpage+0x237
             postgres`heapgettup_pagemode+0x5ad
             postgres`heap_getnextslot+0x52
             postgres`SeqNext+0x71
             postgres`ExecScan+0xc9
             postgres`ExecLockRows+0x7b
             postgres`standard_ExecutorRun+0x10a
             postgres`_SPI_execute_plan+0x524
             postgres`SPI_execute_snapshot+0x116
             postgres`ri_PerformCheck+0x29e
             postgres`RI_FKey_check+0x5d3
             postgres`RI_FKey_check_ins+0x21
             postgres`ExecCallTriggerFunc+0x105
             postgres`afterTriggerInvokeEvents+0x605
             postgres`AfterTriggerEndQuery+0x7a
             postgres`CopyFrom+0xaca
             postgres`DoCopy+0x553
             postgres`standard_ProcessUtility+0x5f9
             postgres`ProcessUtility+0x28
              55

It shows that the process is running FK triggers.
Would you show \d for the table which is the destination of COPY, and for other
tables to which it has FK constraints.

Two tables being copied into. I chased the first FK tables from the job_entry.  I can do the entire thing if you want.  There are bunches...

tapesystem=# \d ds3.job_entry
                 Table "ds3.job_entry"
   Column    |  Type   | Collation | Nullable | Default 
-------------+---------+-----------+----------+---------
 blob_id     | uuid    |           | not null | 
 chunk_id    | uuid    |           | not null | 
 id          | uuid    |           | not null | 
 job_id      | uuid    |           | not null | 
 order_index | integer |           | not null | 
Indexes:
    "job_entry_pkey" PRIMARY KEY, btree (id)
    "job_entry_blob_id_idx" btree (blob_id)
    "job_entry_chunk_id_idx" btree (chunk_id)
    "job_entry_job_id_blob_id_key" UNIQUE CONSTRAINT, btree (job_id, blob_id)
    "job_entry_job_id_idx" btree (job_id)
    "job_entry_order_index_chunk_id_key" UNIQUE CONSTRAINT, btree (order_index, chunk_id)
Foreign-key constraints:
    "job_entry_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    "job_entry_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE
    "job_entry_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE

tapesystem=# \d ds3.job_chunk
                                    Table "ds3.job_chunk"
          Column           |              Type              | Collation | Nullable | Default 
---------------------------+--------------------------------+-----------+----------+---------
 blob_store_state          | ds3.job_chunk_blob_store_state |           | not null | 
 chunk_number              | integer                        |           | not null | 
 id                        | uuid                           |           | not null | 
 job_id                    | uuid                           |           | not null | 
 node_id                   | uuid                           |           |          | 
 pending_target_commit     | boolean                        |           | not null | 
 read_from_azure_target_id | uuid                           |           |          | 
 read_from_ds3_target_id   | uuid                           |           |          | 
 read_from_pool_id         | uuid                           |           |          | 
 read_from_s3_target_id    | uuid                           |           |          | 
 read_from_tape_id         | uuid                           |           |          | 
Indexes:
    "job_chunk_pkey" PRIMARY KEY, btree (id)
    "job_chunk_blob_store_state_idx" btree (blob_store_state)
    "job_chunk_chunk_number_job_id_key" UNIQUE CONSTRAINT, btree (chunk_number, job_id)
    "job_chunk_job_id_idx" btree (job_id)
    "job_chunk_node_id_idx" btree (node_id)
    "job_chunk_read_from_azure_target_id_idx" btree (read_from_azure_target_id)
    "job_chunk_read_from_ds3_target_id_idx" btree (read_from_ds3_target_id)
    "job_chunk_read_from_pool_id_idx" btree (read_from_pool_id)
    "job_chunk_read_from_s3_target_id_idx" btree (read_from_s3_target_id)
    "job_chunk_read_from_tape_id_idx" btree (read_from_tape_id)
Foreign-key constraints:
    "job_chunk_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE
    "job_chunk_node_id_fkey" FOREIGN KEY (node_id) REFERENCES ds3.node(id) ON UPDATE CASCADE ON DELETE SET NULL
    "job_chunk_read_from_azure_target_id_fkey" FOREIGN KEY (read_from_azure_target_id) REFERENCES target.azure_target(id) ON UPDATE CASCADE ON DELETE SET NULL
    "job_chunk_read_from_ds3_target_id_fkey" FOREIGN KEY (read_from_ds3_target_id) REFERENCES target.ds3_target(id) ON UPDATE CASCADE ON DELETE SET NULL
    "job_chunk_read_from_pool_id_fkey" FOREIGN KEY (read_from_pool_id) REFERENCES pool.pool(id) ON UPDATE CASCADE ON DELETE SET NULL
    "job_chunk_read_from_s3_target_id_fkey" FOREIGN KEY (read_from_s3_target_id) REFERENCES target.s3_target(id) ON UPDATE CASCADE ON DELETE SET NULL
    "job_chunk_read_from_tape_id_fkey" FOREIGN KEY (read_from_tape_id) REFERENCES tape.tape(id) ON UPDATE CASCADE ON DELETE SET NULL
Referenced by:
    TABLE "ds3.job_chunk_azure_target" CONSTRAINT "job_chunk_azure_target_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_chunk_ds3_target" CONSTRAINT "job_chunk_ds3_target_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_chunk_persistence_target" CONSTRAINT "job_chunk_persistence_target_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_chunk_s3_target" CONSTRAINT "job_chunk_s3_target_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_entry" CONSTRAINT "job_entry_chunk_id_fkey" FOREIGN KEY (chunk_id) REFERENCES ds3.job_chunk(id) ON UPDATE CASCADE ON DELETE CASCADE

tapesystem=# \d ds3.job
                                                      Table "ds3.job"
                 Column                  |                      Type                       | Collation | Nullable | Default 
-----------------------------------------+-------------------------------------------------+-----------+----------+---------
 bucket_id                               | uuid                                            |           | not null | 
 cached_size_in_bytes                    | bigint                                          |           | not null | 
 chunk_client_processing_order_guarantee | ds3.job_chunk_client_processing_order_guarantee |           | not null | 
 completed_size_in_bytes                 | bigint                                          |           | not null | 
 created_at                              | timestamp without time zone                     |           | not null | 
 id                                      | uuid                                            |           | not null | 
 original_size_in_bytes                  | bigint                                          |           | not null | 
 priority                                | ds3.blob_store_task_priority                    |           | not null | 
 request_type                            | ds3.job_request_type                            |           | not null | 
 user_id                                 | uuid                                            |           | not null | 
 truncated                               | boolean                                         |           | not null | 
 rechunked                               | timestamp without time zone                     |           |          | 
 error_message                           | character varying                               |           |          | 
 naked                                   | boolean                                         |           | not null | 
 name                                    | character varying                               |           | not null | 
 aggregating                             | boolean                                         |           | not null | 
 minimize_spanning_across_media          | boolean                                         |           | not null | 
 truncated_due_to_timeout                | boolean                                         |           | not null | 
 implicit_job_id_resolution              | boolean                                         |           | not null | 
 verify_after_write                      | boolean                                         |           | not null | 
 replicating                             | boolean                                         |           | not null | 
 dead_job_cleanup_allowed                | boolean                                         |           | not null | 
 restore                                 | ds3.job_restore                                 |           | not null | 
Indexes:
    "job_pkey" PRIMARY KEY, btree (id)
    "ds3_job__bucket_id" btree (bucket_id)
    "ds3_job__created_at" btree (created_at)
    "ds3_job__name" btree (name)
    "ds3_job__user_id" btree (user_id)
Foreign-key constraints:
    "job_bucket_id_fkey" FOREIGN KEY (bucket_id) REFERENCES ds3.bucket(id) ON UPDATE CASCADE ON DELETE CASCADE
    "job_user_id_fkey" FOREIGN KEY (user_id) REFERENCES ds3."user"(id) ON UPDATE CASCADE
Referenced by:
    TABLE "ds3.data_migration" CONSTRAINT "data_migration_get_job_id_fkey" FOREIGN KEY (get_job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE SET NULL
    TABLE "ds3.data_migration" CONSTRAINT "data_migration_put_job_id_fkey" FOREIGN KEY (put_job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE SET NULL
    TABLE "ds3.job_chunk" CONSTRAINT "job_chunk_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "notification.job_completed_notification_registration" CONSTRAINT "job_completed_notification_registration_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_entry" CONSTRAINT "job_entry_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "notification.s3_object_cached_notification_registration" CONSTRAINT "s3_object_cached_notification_registration_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "notification.s3_object_persisted_notification_registration" CONSTRAINT "s3_object_persisted_notification_registration_job_id_fkey" FOREIGN KEY (job_id) REFERENCES ds3.job(id) ON UPDATE CASCADE ON DELETE CASCADE

tapesystem=# \d ds3.blob
                            Table "ds3.blob"
    Column     |          Type          | Collation | Nullable | Default 
---------------+------------------------+-----------+----------+---------
 byte_offset   | bigint                 |           | not null | 
 checksum      | character varying      |           |          | 
 checksum_type | security.checksum_type |           |          | 
 id            | uuid                   |           | not null | 
 length        | bigint                 |           | not null | 
 object_id     | uuid                   |           | not null | 
Indexes:
    "blob_pkey" PRIMARY KEY, btree (id)
    "blob_byte_offset_object_id_key" UNIQUE CONSTRAINT, btree (byte_offset, object_id)
    "ds3_blob__object_id" btree (object_id)
Foreign-key constraints:
    "blob_object_id_fkey" FOREIGN KEY (object_id) REFERENCES ds3.s3_object(id) ON UPDATE CASCADE
Referenced by:
    TABLE "target.blob_azure_target" CONSTRAINT "blob_azure_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "temp.blob_azure_target_to_verify" CONSTRAINT "blob_azure_target_to_verify_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "pool.blob_pool" CONSTRAINT "blob_pool_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "target.blob_s3_target" CONSTRAINT "blob_s3_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "temp.blob_s3_target_to_verify" CONSTRAINT "blob_s3_target_to_verify_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "tape.blob_tape" CONSTRAINT "blob_tape_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "target.blob_ds3_target" CONSTRAINT "blob_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.degraded_blob" CONSTRAINT "degraded_blob_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.job_entry" CONSTRAINT "job_entry_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.multi_part_upload_part" CONSTRAINT "multi_part_upload_part_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "ds3.multi_part_upload" CONSTRAINT "multi_part_upload_placeholder_blob_id_fkey" FOREIGN KEY (placeholder_blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "pool.obsolete_blob_pool" CONSTRAINT "obsolete_blob_pool_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "tape.obsolete_blob_tape" CONSTRAINT "obsolete_blob_tape_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "target.suspect_blob_azure_target" CONSTRAINT "suspect_blob_azure_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "pool.suspect_blob_pool" CONSTRAINT "suspect_blob_pool_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "target.suspect_blob_s3_target" CONSTRAINT "suspect_blob_s3_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "tape.suspect_blob_tape" CONSTRAINT "suspect_blob_tape_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE
    TABLE "target.suspect_blob_ds3_target" CONSTRAINT "suspect_blob_target_blob_id_fkey" FOREIGN KEY (blob_id) REFERENCES ds3.blob(id) ON UPDATE CASCADE ON DELETE CASCADE



Also, do you have any long-running transactions ?

Not at the time this is happening.

In your first message, you showed no other queries except "idle" ones (not
idle-in-transaction) but I figured I'd ask anyway.

Does your COPY job run in a transaction block ?

Auto-commit is enabled for that connection, so each COPY should be in its own transaction.


You're running pg13.2, so it would be interesting to know if the problem exists
under 13.5.

I’d have to see what it would take to get to 13.5


-- 
Justin

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 17, 2021, at 2:01 PM, Thomas Munro <thomas.munro@gmail.com> wrote:

This message originated outside your organization.

On Thu, Nov 18, 2021 at 8:28 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Justin Pryzby <pryzby@telsasoft.com> writes:
It shows that the process is running FK triggers.

Indeed, and doing a seqscan therein.  Normally I'd suppose that
this reflects a lack of an index, but RI_FKey_check should always
be doing something that matches the referenced table's unique
constraint, so why isn't it using that?

I wonder if the reference tables are empty sometimes, and there's an
unlucky sequence of events that results in cached RI plans with seq
scans being used later in the same session after the tables are
populated.

We are able to move up to Postgres 13.5, in our ports tree, if that would help.  We used pg_upgrade to get from 9.6 to 13.3, so that should work fine going instead to 13.5.  We’re almost branching/releasing our code, so it’s not a good time, but if it may help with this problem, we’ll deal with it.

It seems to be important (so far) that we delete a ‘bucket’ in the re-creation of this problem. I’ve included a graphical copy of the schema courtesy of DataGrip.  We’re trying to get the problem reproducible more quickly, but at the moment, it takes hours.

Attachment

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:

> On Nov 17, 2021, at 4:18 PM, Justin Pryzby <pryzby@telsasoft.com> wrote:
> 
> This message originated outside your organization.
> 
> On Wed, Nov 17, 2021 at 09:54:14PM +0000, Robert Creager wrote:
> > We are able to move up to Postgres 13.5, in our ports tree, if that would help. We used pg_upgrade to get from 9.6
to13.3, so that should work fine going instead to 13.5. We’re almost branching/releasing our code, so it’s not a good
time,but if it may help with this problem, we’ll deal with it.
 
> 
> To be clear, I have no specfic reason to believe it would help.

I figured as much, and told our gang that also.  Was looking through the release notes a little, need to finish with 4
andlook at 5.
 

> But it would be silly to chase down a problem that someone already fixed 10
> months ago (the source of this problem, or something else that comes up).

Yeah, trying to figure out how feasible it is for us to do quickly.  Ok, we have approval, and will be working on an
upgradedbuild in the morning.
 

> 
> In fact I suspect it won't help, and there's an issue with your schema, or
> autovacuum, or postgres.

Well, if it’s our schema, 9.6 didn’t care about it, doesn’t mean there wasn’t one though, and I understand that
completely.

So, how do I go about capturing more information for the big brains (you guys) to help figure this out?  I have all our
resourcesat mine (and hence your) disposal.
 

> 
> Note that since v10, the version scheme uses only two components, and 13.3 to
> 13.5 is a minor release, similar to 9.6.3 to 9.6.5. So you don't need to use
> pg_upgrade - just update the binaries.

Good, but the previous release of our product was at 9.6, so we’re currently using the pg_upgrade to do that, automated
(storageappliance).  Just talking out loud, that switching to 13.5 shouldn’t cause us any upgrade issues other than
figuringout builds and dependencies and some upgrade testing.  And a straight re-run with 13.5 on top of the db should
workjust fine.  When I talk out loud, I sometimes catch the stupid things I’m missing, and it allows others to point
outthe stupid things I’m missing...
 

Best,
Robert


Re: Need help identifying a periodic performance issue.

From
Thomas Munro
Date:
On Thu, Nov 18, 2021 at 1:18 PM Robert Creager <robertc@spectralogic.com> wrote:
> So, how do I go about capturing more information for the big brains (you guys) to help figure this out?  I have all
ourresources at mine (and hence your) disposal.
 

As a workaround, does it help if you issue DISCARD PLANS before your
COPY jobs, or alternatively start with a fresh connection?  I'm
guessing that something like this is happening.

-- set up the auto_explain extension to show the internal foreign key
check queries' plans
load 'auto_explain';
set auto_explain.log_nested_statements = true;
set auto_explain.log_min_duration = 0;
set auto_explain.log_analyze = true;

drop table if exists r, s cascade;
create table r (i int primary key);
create table s (i int references r(i));

-- collect stats showing r as empty
analyze r;

-- execute RI query 6 times to lock the plan (inserts fail, log shows seq scan)
insert into s values (42);
insert into s values (42);
insert into s values (42);
insert into s values (42);
insert into s values (42);
insert into s values (42);

insert into r select generate_series(1, 1000000);

-- once more, we still get a seq scan, which is by now a bad idea
insert into s values (42);

discard plans;

-- once more, now we get an index scan
insert into s values (42);



Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:

> On Nov 17, 2021, at 10:42 PM, Justin Pryzby <pryzby@telsasoft.com> wrote:
>
> This message originated outside your organization.
>
> On Thu, Nov 18, 2021 at 04:39:42PM +1300, Thomas Munro wrote:
>> On Thu, Nov 18, 2021 at 1:18 PM Robert Creager <robertc@spectralogic.com> wrote:
>>> So, how do I go about capturing more information for the big brains (you guys) to help figure this out?  I have all
ourresources at mine (and hence your) disposal. 
>>
>> As a workaround, does it help if you issue DISCARD PLANS before your
>> COPY jobs, or alternatively start with a fresh connection?  I'm

I can certainly give that a try.

> It also seems to work if one does SET plan_cache_mode=force_custom_plan;
>
> Robert might try that, either in postresql.conf, or SET in the client that's
> doing COPY.

Which would be better?  Discard plans or forcing custom plans?  Seems like wrapping a copy might be better than the
Postgres.confchange as that would affect all statements.  What kind of performance hit would we be taking with that do
youestimate?  Microseconds per statement?  Yeah, hard to say, depends on hardware and such.  Would there be any benefit
overallto doing that?  Forcing the replan? 

Best,
Robert




Re: Need help identifying a periodic performance issue.

From
Thomas Munro
Date:
On Fri, Nov 19, 2021 at 6:03 AM Robert Creager <robertc@spectralogic.com> wrote:
> Which would be better?  Discard plans or forcing custom plans?  Seems like wrapping a copy might be better than the
Postgres.confchange as that would affect all statements.  What kind of performance hit would we be taking with that do
youestimate?  Microseconds per statement?  Yeah, hard to say, depends on hardware and such.  Would there be any benefit
overallto doing that?  Forcing the replan? 

Just to understand what's going on, it'd be interesting to know if the
problem goes away if you *just* inject the DISCARD PLANS statement
before running your COPYs, but if that doesn't help it'd also be
interesting to know what happens if you ANALYZE each table after each
COPY.  Are you running any explicit ANALYZE commands?  How long do
your sessions/connections live for?

I'm wondering if the thing that changed between 9.6 and 13 might be
the heuristics for when auto vacuum's background ANALYZE is triggered,
creating the unlucky timing required to get your system to this state
occasionally.

For a while now I have been wondering how we could teach the
planner/stats system about "volatile" tables (as DB2 calls them), that
is, ones that are frequently empty, which often come up in job queue
workloads.  I've seen problems like this with user queries (I used to
work on big job queue systems across different relational database
vendors, which is why I finished up writing the SKIP LOCKED patch for
9.5), but this is the first time I've contemplated FK check queries
being negatively affected by this kind of stats problem.  I don't have
a good concrete idea, though (various dumb ideas: don't let auto
analyze run on an empty table if it's marked VOLATILE, or ignore
apparently empty stats on tables marked VOLATILE (and use what?),
...).



Re: Need help identifying a periodic performance issue.

From
Tom Lane
Date:
Thomas Munro <thomas.munro@gmail.com> writes:
> I'm wondering if the thing that changed between 9.6 and 13 might be
> the heuristics for when auto vacuum's background ANALYZE is triggered,
> creating the unlucky timing required to get your system to this state
> occasionally.

> For a while now I have been wondering how we could teach the
> planner/stats system about "volatile" tables (as DB2 calls them), that
> is, ones that are frequently empty, which often come up in job queue
> workloads.  I've seen problems like this with user queries (I used to
> work on big job queue systems across different relational database
> vendors, which is why I finished up writing the SKIP LOCKED patch for
> 9.5), but this is the first time I've contemplated FK check queries
> being negatively affected by this kind of stats problem.  I don't have
> a good concrete idea, though (various dumb ideas: don't let auto
> analyze run on an empty table if it's marked VOLATILE, or ignore
> apparently empty stats on tables marked VOLATILE (and use what?),
> ...).

Hmm.  If this complaint were about v14 rather than v13, I'd be
wondering whether 3d351d916 was what made things worse.  But
in v13, if the table does go to empty (zero length) and ANALYZE
happens to see that state, we should end up back at the planner's
"minimum ten pages" heuristic, which likely would be enough to
prevent choice of a seqscan.  OTOH, if the analyzed state is
"empty but has a couple of pages", it looks like that could
provoke a seqscan.

This is all guesswork though, since we don't know quite what's
happening on Robert's system.  It might be worth setting
"log_autovacuum_min_duration = 0" (either globally, or as a
reloption on the relevant tables), and seeing if there seems
to be any correlation between autovacuum/autoanalyze activity
and the occurrences of poor plan choices.

            regards, tom lane



Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 18, 2021, at 2:08 PM, Thomas Munro <thomas.munro@gmail.com> wrote:

This message originated outside your organization.

On Fri, Nov 19, 2021 at 6:03 AM Robert Creager <robertc@spectralogic.com> wrote:
Which would be better?  Discard plans or forcing custom plans?  Seems like wrapping a copy might be better than the Postgres.conf change as that would affect all statements.  What kind of performance hit would we be taking with that do you estimate?  Microseconds per statement?  Yeah, hard to say, depends on hardware and such.  Would there be any benefit overall to doing that?  Forcing the replan?

Just to understand what's going on, it'd be interesting to know if the
problem goes away if you *just* inject the DISCARD PLANS statement
before running your COPYs, but if that doesn't help it'd also be

I’m doing that now, “SET plan_cache_mode=force_custom_plan” before the copy, then auto after the copy.

interesting to know what happens if you ANALYZE each table after each
COPY.  Are you running any explicit ANALYZE commands?  How long do
your sessions/connections live for?

No explicit analyze happening.  I’m not super familiar with this code base, but a bit of looking confirmed what I thought, they served via connection pool and appear to live for the life of the app, which could be months.

After this test (tomorrow likely) I can try the explicit ANALYZE after the copy completes.

Best,
Robert

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:

> On Nov 18, 2021, at 2:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> This is all guesswork though, since we don't know quite what's
> happening on Robert's system.  It might be worth setting
> "log_autovacuum_min_duration = 0" (either globally, or as a
> reloption on the relevant tables), and seeing if there seems
> to be any correlation between autovacuum/autoanalyze activity
> and the occurrences of poor plan choices.

I’ve changed the log duration globally, and am also using the plan_cache_mode=force_custom_plan suggested by Justin.

Best,
Robert

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 18, 2021, at 2:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

This message originated outside your organization.

Thomas Munro <thomas.munro@gmail.com> writes:

This is all guesswork though, since we don't know quite what's
happening on Robert's system.  It might be worth setting
"log_autovacuum_min_duration = 0" (either globally, or as a
reloption on the relevant tables), and seeing if there seems
to be any correlation between autovacuum/autoanalyze activity
and the occurrences of poor plan choices.

Ok, doing a SET plan_cache_mode=force_custom_plan before the COPY and resetting it after appears to fix the problem.  We’re going to run it over the weekend to make sure.

So, I thank you very much for all your help.

I have logs with autovacuum=0 and dtrace output every minute, but suspect that won’t help you now.  Would you like me to remove the fix next week and reproduce the issue with the same config to provide more information for trouble shooting?  I may be able get a SSH session into a live system, I’d have to check with IT to see if that’s possible/allowed.

Best,
Robert

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


On Nov 19, 2021, at 11:47 AM, Robert Creager <robertc@spectralogic.com> wrote:



On Nov 18, 2021, at 2:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

This message originated outside your organization.

Thomas Munro <thomas.munro@gmail.com> writes:

This is all guesswork though, since we don't know quite what's
happening on Robert's system.  It might be worth setting
"log_autovacuum_min_duration = 0" (either globally, or as a
reloption on the relevant tables), and seeing if there seems
to be any correlation between autovacuum/autoanalyze activity
and the occurrences of poor plan choices.

Ok, doing a SET plan_cache_mode=force_custom_plan before the COPY and resetting it after appears to fix the problem.  We’re going to run it over the weekend to make sure.

We are at it again.  I have a DELETE operation that’s taking 48 minutes so far.  I had set plan_cache_mode = force_custom_plan for the entire server before this happened, as we started seeing the COPY slowdown again.  I have dtrace information again, but primarily shows the nested scan operation.

pid,client_port,runtime,query_start,datname,state,wait_event_type,query,usename
40665,15978,0 years 0 mons 0 days 0 hours 48 mins 49.62347 secs,2021-11-24 20:13:30.017188 +00:00,tapesystem,active,,DELETE FROM ds3.blob WHERE EXISTS (SELECT * FROM ds3.s3_object WHERE id = ds3.blob.object_id AND (bucket_id = $1)),Administrator

So how do we avoid this query plan? Do we need to start doing explicit analyzes after every delete?

EXPLAIN DELETE
FROM ds3.blob
WHERE EXISTS(SELECT * FROM ds3.s3_object WHERE id = ds3.blob.object_id AND (bucket_id = '85b9e793-2141-455c-a752-90c2346cdfe1'));

250k objects in blob
256k objects in s3_object

QUERY PLAN
Delete on blob (cost=10117.05..16883.09 rows=256002 width=12)
-> Hash Join (cost=10117.05..16883.09 rows=256002 width=12)
Hash Cond: (blob.object_id = s3_object.id)
-> Seq Scan on blob (cost=0.00..6094.02 rows=256002 width=22)
-> Hash (cost=6917.02..6917.02 rows=256002 width=22)
-> Seq Scan on s3_object (cost=0.00..6917.02 rows=256002 width=22)
Filter: (bucket_id = '8a988c6c-ef98-465e-a148-50054c739212'::uuid)

’Normal’ explain, very few objects with that bucket.

QUERY PLAN
Delete on blob (cost=0.71..6.76 rows=1 width=12)
-> Nested Loop (cost=0.71..6.76 rows=1 width=12)
-> Index Scan using ds3_s3_object__bucket_id on s3_object (cost=0.29..2.31 rows=1 width=22)
Index Cond: (bucket_id = '85b9e793-2141-455c-a752-90c2346cdfe1'::uuid)
-> Index Scan using ds3_blob__object_id on blob (cost=0.42..4.44 rows=1 width=22)
Index Cond: (object_id = s3_object.id)


Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:
I forgot, I had reloaded postgres, but had not re-started our app, so the connections wouldn’t have that plan setting on them. Re-doing now.

On Nov 24, 2021, at 2:13 PM, Robert Creager <robertc@spectralogic.com> wrote:



On Nov 19, 2021, at 11:47 AM, Robert Creager <robertc@spectralogic.com> wrote:



On Nov 18, 2021, at 2:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

This message originated outside your organization.

Thomas Munro <thomas.munro@gmail.com> writes:

This is all guesswork though, since we don't know quite what's
happening on Robert's system.  It might be worth setting
"log_autovacuum_min_duration = 0" (either globally, or as a
reloption on the relevant tables), and seeing if there seems
to be any correlation between autovacuum/autoanalyze activity
and the occurrences of poor plan choices.

Ok, doing a SET plan_cache_mode=force_custom_plan before the COPY and resetting it after appears to fix the problem.  We’re going to run it over the weekend to make sure.

We are at it again.  I have a DELETE operation that’s taking 48 minutes so far.  I had set plan_cache_mode = force_custom_plan for the entire server before this happened, as we started seeing the COPY slowdown again.  I have dtrace information again, but primarily shows the nested scan operation.

pid,client_port,runtime,query_start,datname,state,wait_event_type,query,usename
40665,15978,0 years 0 mons 0 days 0 hours 48 mins 49.62347 secs,2021-11-24 20:13:30.017188 +00:00,tapesystem,active,,DELETE FROM ds3.blob WHERE EXISTS (SELECT * FROM ds3.s3_object WHERE id = ds3.blob.object_id AND (bucket_id = $1)),Administrator

So how do we avoid this query plan? Do we need to start doing explicit analyzes after every delete?

EXPLAIN DELETE
FROM ds3.blob
WHERE EXISTS(SELECT * FROM ds3.s3_object WHERE id = ds3.blob.object_id AND (bucket_id = '85b9e793-2141-455c-a752-90c2346cdfe1'));

250k objects in blob
256k objects in s3_object

QUERY PLAN
Delete on blob (cost=10117.05..16883.09 rows=256002 width=12)
-> Hash Join (cost=10117.05..16883.09 rows=256002 width=12)
Hash Cond: (blob.object_id = s3_object.id)
-> Seq Scan on blob (cost=0.00..6094.02 rows=256002 width=22)
-> Hash (cost=6917.02..6917.02 rows=256002 width=22)
-> Seq Scan on s3_object (cost=0.00..6917.02 rows=256002 width=22)
Filter: (bucket_id = '8a988c6c-ef98-465e-a148-50054c739212'::uuid)

’Normal’ explain, very few objects with that bucket.

QUERY PLAN
Delete on blob (cost=0.71..6.76 rows=1 width=12)
-> Nested Loop (cost=0.71..6.76 rows=1 width=12)
-> Index Scan using ds3_s3_object__bucket_id on s3_object (cost=0.29..2.31 rows=1 width=22)
Index Cond: (bucket_id = '85b9e793-2141-455c-a752-90c2346cdfe1'::uuid)
-> Index Scan using ds3_blob__object_id on blob (cost=0.42..4.44 rows=1 width=22)
Index Cond: (object_id = s3_object.id)

Re: Need help identifying a periodic performance issue.

From
Robert Creager
Date:


> On Nov 24, 2021, at 4:15 PM, Justin Pryzby <pryzby@telsasoft.com> wrote:
>
> This message originated outside your organization.
>
> On Wed, Nov 24, 2021 at 10:44:12PM +0000, Robert Creager wrote:
>> I forgot, I had reloaded postgres, but had not re-started our app, so the connections wouldn’t have that plan setting on them. Re-doing now.
>
> Are you sure?  GUC changes should be applied for existing sessions, right ?
>
> Would you send the logs surrounding the slow COPY ?
> Specifically including the autovacuum logs.

Here are the log lines 5 minutes leading up to the 2min copy operation happening.  There is no vacuum activity. The previous auto vacuum happened 20 minutes earlier on a different table.



>
>> We are at it again.  I have a DELETE operation that’s taking 48 minutes so far.
>
> Before, you had slow COPY due to FKs.  Now you have a slow DELETE, which you
> only alluded to before.

Yeah, I had not been able to reproduce it previously with logging/dtracing enabled. And I was able to look at the query plan as I saw it happening.

And we’ve run across another problem query, which is also hitting that ds3.blob table.

INFO Nov 25 05:30:05,787 [WorkLogger] | Still in progress after 30 minutes: [IomDriverWorker] SQL: SELECT * FROM ds3.s3_object_property WHERE (key = 'x-amz-meta-o-spectra-backup-start-date' AND EXISTS (SELECT * FROM ds3.s3_object WHERE id = ds3.s3_object_property.object_id AND ((EXISTS (SELECT * FROM ds3.bucket WHERE id = ds3.s3_object.bucket_id AND (name LIKE 'Spectra%')) AND NOT EXISTS (SELECT * FROM ds3.blob WHERE object_id = ds3.s3_object.id AND (EXISTS (SELECT * FROM ds3.job...  (MonitoredWorkManager$WorkLogger.run:84)

>
>> So how do we avoid this query plan? Do we need to start doing explicit analyzes after every delete?
>
> If your DELETE is deleting the entire table, then I think you should VACUUM
> anyway (or else the next inserts will bloat the table).

We’re not deleting the entire table necessarily, we don’t know, customer driven thing.  In general, the COPY table used will not see a lot of deletes, this in from the test group, which is deleting a lot of data.

>
> But first, I believe Thomas was suggesting to put plan_cache_mode back to its
> default, and (for testing purposes) try using issue DISCARD PLANS.

Ok, I’ll do that now and see what happens with the COPY.

>
> On Fri, Nov 19, 2021 at 10:08:02AM +1300, Thomas Munro wrote:
>> Just to understand what's going on, it'd be interesting to know if the
>> problem goes away if you *just* inject the DISCARD PLANS statement
>> before running your COPYs, but if that doesn't help it'd also be
>> interesting to know what happens if you ANALYZE each table after each
>> COPY.  Are you running any explicit ANALYZE commands?  How long do
>> your sessions/connections live for?
>
> --
> Justin
>

Attachment