select table_schema, table_name, column_name , is_identity, identity_generation
from information_schema.columns
where 1 =1
--and table_name = 't5'
and is_identity = 'YES'
;
'PostgreSQL' 카테고리의 다른 글
PgAdmin4 이용한 백업 및 복구 (0) | 2020.08.19 |
---|---|
ALTER SEQUENCE (변경) (0) | 2020.08.19 |
identity column 특성 변경하기{DEFAULT | ALWAYS} (0) | 2020.08.09 |
역할권한 관리 (0) | 2020.08.07 |
11 Best PostgreSQL Monitoring tools (0) | 2020.08.02 |