pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
To: pgsql-performance@lists.postgresql.org
Subject: Re: sequence depends on many tables
Date: Wed, 25 Sep 2019 21:19:22 +0200
Message-ID: <ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at> (raw)
In-Reply-To: <CA+t6e1=UVWcQfn+am-P+_KgpuRk94+uNZkeAgfOvyDXJfU4ELA@mail.gmail.com>
References: <CA+t6e1=UVWcQfn+am-P+_KgpuRk94+uNZkeAgfOvyDXJfU4ELA@mail.gmail.com>

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






view thread (6+ messages)  latest in thread

Message-ID: <ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at>
Permalink:  ../ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at/
Also on:    postgresql.org/message-id/ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at

 · 

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: pgsql-performance@postgresql.org
  Cc: laurenz.albe@cybertec.at, mariel.cherkassky@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: sequence depends on many tables
  In-Reply-To: <ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at>

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

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