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



Reply via email to