public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Jialun Zhang <[email protected]>
Cc: [email protected]
Subject: Re: How to change the default storage strategy for varlena?
Date: Thu, 23 Jul 2020 17:30:14 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAMFL+JhcUkOchrKcBLecLC_Nc_23DRkueMDzuRQgVt_r-S2BKQ@mail.gmail.com>
References: <CAMFL+JhcUkOchrKcBLecLC_Nc_23DRkueMDzuRQgVt_r-S2BKQ@mail.gmail.com>

Jialun Zhang <[email protected]> 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





view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: How to change the default storage strategy for varlena?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox