Re: sequence depends on many tables

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: sequence depends on many tables
Дата
Msg-id ce274899b8ebd7a49a2d6b9b1e73f141a32e0b4c.camel@cybertec.at
обсуждение исходный текст
Ответ на sequence depends on many tables  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
Ответы Re: sequence depends on many tables  (Mariel Cherkassky <mariel.cherkassky@gmail.com>)
Список 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




В списке pgsql-performance по дате отправления:

Предыдущее
От: Mariel Cherkassky
Дата:
Сообщение: sequence depends on many tables
Следующее
От: Mariel Cherkassky
Дата:
Сообщение: Re: sequence depends on many tables