Re: Postgres 9.6 to 12.7 pg_upgrade error - terminating connection due to administrator command

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Dhanush D <dhanushdk94(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgres 9.6 to 12.7 pg_upgrade error - terminating connection due to administrator command
Date: 2021-08-02 20:39:44
Message-ID: CAKFQuwZmqZBOQU=b9K_+dt5W5zQBm96kce=_KAwZEXwzpuBkXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 2, 2021 at 12:20 PM Dhanush D <dhanushdk94(at)gmail(dot)com> wrote:

> It doesn't show up twice based on these checks (Is there any other way I
> can check if the seq is showing up twice?).
>
>
SELECT * FROM pg_class WHERE relkind = 'S' AND relname ~ 'permission';

I made the "relname" a bit broad, you should see the exact name (add an
order by...). relkind=S are sequences.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vikas Sharma 2021-08-02 21:14:17 pgcrypto - real life examples to encrypt / decrypt
Previous Message Dhanush D 2021-08-02 19:42:15 Re: Postgres 9.6 to 12.7 pg_upgrade error - terminating connection due to administrator command