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. Yours, Laurenz Albe