Re: Loading data from one table to another

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Sabyasachi Mukherjee <mukherjee(dot)sabyasachi(at)outlook(dot)com>, "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Loading data from one table to another
Date: 2024-10-14 06:36:08
Message-ID: d56f02ddb857b53e537d1e1d54dc2e111e7c9937.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sbob 2024-10-14 16:52:19 PostgreSQL Package conflicts on Fedora 40
Previous Message Scott Ribe 2024-10-13 14:34:51 Re: Loading data from one table to another