Relpartbound, toasting and pg_class

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Relpartbound, toasting and pg_class
Date: 2017-06-12 19:38:33
Message-ID: 20170612193833.r6jhoxfszqtzy7hi@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Just noticed that pg_class now has several varlena fields:
#ifdef CATALOG_VARLEN /* variable-length fields start here */
/* NOTE: These fields are not present in a relcache entry's rd_rel field. */
aclitem relacl[1]; /* access permissions */
text reloptions[1]; /* access-method-specific options */
pg_node_tree relpartbound; /* partition bound node tree */
#endif

of those relpartbound is fairly new. And pretty much unbounded in
size. Aren't we going to run into issues because pg_class doesn't have a
toast table? It's quite reasonable to use a multi-field composite type
as a partition boundary...

Greetings,

Andres Freund

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-06-12 19:38:49 Re: WIP: Data at rest encryption
Previous Message Andres Freund 2017-06-12 19:21:15 Re: standby server crashes hard on out-of-disk-space in HEAD