Updated on 2025-05-29 GMT+08:00

GS_LOGICAL_PARTITION

GS_LOGICAL_PARTITION records partitioned table information.

Table 1 GS_LOGICAL_PARTITION columns

Column

Type

Description

partitionid

Oid

Partitioned table OID.

relname

name

Name of a partitioned table.

parttype

char

Partitioning type.

parentid

oid

OID of a parent table.

relfilenode

oid

Partitioned table relfilenode.

reltoastrelid

oid

OID of a TOAST table.

reltoastidxid

oid

OID of the TOAST index.

csnmin

bigint

CSN when a tuple is inserted.

csnmax

bigint

CSN when a tuple is updated or deleted.

originid

integer

Source identifier of a tuple.

createtime

timestamp with time zone

Timestamp when a tuple is inserted.

reltablespace

oid

Tablespace OID.

dbnode

oid

Database OID.