Re: Upgrade from PG12 to PG

From: Jef Mortelle <jefmortelle(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Upgrade from PG12 to PG
Date: 2023-07-20 14:49:05
Message-ID: b5fa55f1-7f6b-5e10-a3d5-52436ee47738@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Yes,
But create text allows you to store more data,

8.3. Character Types

*Table 8.4. Character Types*

Name Description
|character varying(/|n|/)|, |varchar(/|n|/)| variable-length with limit
|character(/|n|/)|, |char(/|n|/)| fixed-length, blank padded
|text| variable unlimited length

On 20/07/2023 16:46, Laurenz Albe wrote:
> On Thu, 2023-07-20 at 15:46 +0200, Jef Mortelle wrote:
>> So: not possible to have very little downtime if you have a database
>> with al lot rows containing text  as datatype, as pg_upgrade needs 12hr
>> for 24 milj rows in pg_largeobject.
> To clarify: "text" is no problem at all. Large objects are.
>
> Yours,
> Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2023-07-20 14:51:35 Re: Upgrade from PG12 to PG
Previous Message Laurenz Albe 2023-07-20 14:46:37 Re: Upgrade from PG12 to PG