CONST :consttype relpartbound pg_class

From: Дмитрий <dsolik(at)mail(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: CONST :consttype relpartbound pg_class
Date: 2024-10-23 14:07:34
Message-ID: 1729692454.669630806@f705.i.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello Evryone!
 
Can anyone tell me what this means  « CONST :consttype 1184 » или « CONST :consttype 23 » relpartbound   pg _ class ?
I'm interested in what 1184 and 23 mean, and what other meanings they could have? Where can I read about this?
 
select pt.relpartbound
from pg_class base_tb join pg_inherits i on i.inhparent = base_tb.oid join pg_class pt on pt.oid = i.inhrelid
WHERE pt.relpartbound like '%PARTITIONRANGEDATUM%';
 
{PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({PARTITIONRANGEDATUM :kind 0 :value {CONST :consttype 1184 :consttypmod -1 :constcollid 0 :constlen 8 :constbyval true :constisnull false :location 113 :constvalue 8 [ 0 -76 -57 -34 -54 -56 2 0 ]} :location 113}) :upperdatums ({PARTITIONRANGEDATUM :kind 0 :value {CONST :consttype 1184 :consttypmod -1 :constcollid 0 :constlen 8 :constbyval true :constisnull false :location 131 :constvalue 8 [ 0 -12 4 94 38 -53 2 0 ]} :location 131}) :location 107}
 
{PARTITIONBOUNDSPEC :strategy r :is_default false :modulus 0 :remainder 0 :listdatums <> :lowerdatums ({PARTITIONRANGEDATUM :kind 0 :value {CONST :consttype 23 :consttypmod -1 :constcollid 0 :constlen 4 :constbyval true :constisnull false :location 112 :constvalue 4 [ 0 0 0 0 0 0 0 0 ]} :location 112}) :upperdatums ({PARTITIONRANGEDATUM :kind 0 :value {CONST :consttype 23 :consttypmod -1 :constcollid 0 :constlen 4 :constbyval true :constisnull false :location 119 :constvalue 4 [ 1 0 0 0 0 0 0 0 ]} :location 119}) :location 106}
 
Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-10-23 15:21:25 Re: Using Expanded Objects other than Arrays from plpgsql
Previous Message Andy Hartman 2024-10-23 14:07:02 Re: Backup