Re: sequence depends on many tables

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: sequence depends on many tables
Date: 2019-09-25 19:19:22
Message-ID: ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 2019-09-25 at 15:39 +0300, Mariel Cherkassky wrote:
> select objid,refobjid::regclass from pg_depend where objid=16704;
> objid | refobjid
> -------+-------------------------
> 16704 | 2200
> 16704 | table_A
> 16704 | table_A
> 16704 | table_A
> 16704 | table_B
> (5 rows)
>
> for unclear reason, both table A and table B depends on the sequence.
> When I check table_A I dont see any column that might use it..

Could you select all rows from pg_depend so that it is easier to see
what is going on?

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mariel Cherkassky 2019-09-25 19:20:21 Re: sequence depends on many tables
Previous Message Mariel Cherkassky 2019-09-25 12:39:46 sequence depends on many tables