public inbox for [email protected]  
help / color / mirror / Atom feed
From: vignesh kumar <[email protected]>
To: Laurenz Albe <[email protected]>
To: Sabyasachi Mukherjee <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Loading data from one table to another
Date: Tue, 15 Oct 2024 16:01:38 +0000
Message-ID: <MN0PR20MB49128874B7C246293B856A3B87452@MN0PR20MB4912.namprd20.prod.outlook.com> (raw)
In-Reply-To: <[email protected]>
References: <DB7PR03MB378887A0840FDAECF62410CD8C7B2@DB7PR03MB3788.eurprd03.prod.outlook.com>
	<[email protected]>

Check if you have foreign table references and they should hold on delete cascade that should resolve data being dupliated

Sent from Outlook for Android<https://aka.ms/AAb9ysg;
________________________________
From: Laurenz Albe <[email protected]>
Sent: Monday, October 14, 2024 12:06:08 PM
To: Sabyasachi Mukherjee <[email protected]>; [email protected] <[email protected]>
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.

Yours,
Laurenz Albe




view thread (6+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Loading data from one table to another
  In-Reply-To: <MN0PR20MB49128874B7C246293B856A3B87452@MN0PR20MB4912.namprd20.prod.outlook.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox