From: Laurenz Albe <laurenz.albe@cybertec.at> Sent: Monday, October 14, 2024 12:06:08 PM To: Sabyasachi Mukherjee <mukherjee.sabyasachi@outlook.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org> Subject: Re: Loading data from one table to another
On Sun, 2024-10-13 at 06:24 +0000, Sabyasachi Mukherjee wrote: > To copy the data - the command that I am trying to execute is (Insert into ...(Select * from )) using PGAdmin > > The command fails every time. > > ERROR: Failed on request of size 1048576 in memory context "AfterTriggerEvents".out of memory > ERROR: out of memory > SQL state: 53200 > Detail: Failed on request of size 1048576 in memory context "AfterTriggerEvents".
You have a row level AFTER INSERT trigger on the destination table. Try without the trigger.