RE: Assertion failure in GetSubscriptionRelations() with concurrent DROP TABLE

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'vignesh C' <vignesh21(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: Assertion failure in GetSubscriptionRelations() with concurrent DROP TABLE
Date: 2026-08-25 12:09:42
Message-ID: OS9PR01MB12149D5943915C19B9C56EC61F5AF2@OS9PR01MB12149.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear Vignesh,

Thanks for updating the patch. I confirmed it could fix the issue.

```
+ else
+ elog(ERROR, "unexpected relkind: %d", (int) relkind);
```

I feel \"%c\" might be better than %d, like what ProcessUtilitySlow() does,
because the relkind is defined as char.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-08-25 12:14:44 Re: fix more casting away of qualifiers
Previous Message Andrew Dunstan 2026-08-25 11:37:48 Re: Add a Nix flake