Re: Truncate DUMMY_mid is blocked DELETE DUMMY_init TABLE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: M Sarwar <sarwarmd02(at)outlook(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Truncate DUMMY_mid is blocked DELETE DUMMY_init TABLE
Date: 2024-06-05 21:39:45
Message-ID: 914349.1717623585@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

M Sarwar <sarwarmd02(at)outlook(dot)com> writes:
> I am truncating the table DUMMY_mid .
> Truncate is getting struck due to DELETE operation on the table DUMMY_init.

Maybe you have foreign keys connecting those tables?

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message M Sarwar 2024-06-05 22:21:56 Re: Truncate DUMMY_mid is blocked DELETE DUMMY_init TABLE
Previous Message M Sarwar 2024-06-05 21:23:05 Truncate DUMMY_mid is blocked DELETE DUMMY_init TABLE