Re: How to change the default storage strategy for varlena? - Mailing list pgsql-novice

From Tom Lane
Subject Re: How to change the default storage strategy for varlena?
Date
Msg-id 299365.1595539814@sss.pgh.pa.us
Whole thread Raw
In response to How to change the default storage strategy for varlena?  (Jialun Zhang <reatank@gmail.com>)
List pgsql-novice
Jialun Zhang <reatank@gmail.com> writes:
> The defualt stroage strategy for varlena is 'x', i.e. EXTENDED. Is there a
> way to change it, from either front end or source code?

As of v13 you could do something like

alter type varchar set (storage = main);

(repeat for every varlena type in the system, if that is indeed your
desire).  This seems like a remarkably bad idea, but it's breaking
nobody's database but your own.

            regards, tom lane



pgsql-novice by date:

Previous
From: Jialun Zhang
Date:
Subject: How to change the default storage strategy for varlena?
Next
From: bx
Date:
Subject: deviation of 12 from 10 or 11