Re: missing toast table for pg_policy - Mailing list pgsql-hackers

From Joe Conway
Subject Re: missing toast table for pg_policy
Date
Msg-id 160e22bb-6802-eda1-14ba-75a09c50f11d@joeconway.com
Whole thread Raw
In response to Re: missing toast table for pg_policy  (Andres Freund <andres@anarazel.de>)
Responses Re: missing toast table for pg_policy  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 02/16/2018 05:07 PM, Andres Freund wrote:
> Hi,
>
> On 2018-02-16 16:56:15 -0500, Joe Conway wrote:
>> Looking at the issue, the problem seems to be missing toast table for
>> pg_policy. Also attached is a one line patch. It isn't clear to me
>> whether this is a candidate for backpatching.
>
> Don't think it is - it'd not take effect on already initdb'ed clusters.

Yep, knew that, but...

> If problematic for < master users I think you'll have to restart cluster
> with allow_system_table_mods, manually create/drop toasted column. IIRC
> that should add a toast table even after dropping.

I wasn't sure if we would want to backpatch and put the manual procedure
steps into the release notes.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: missing toast table for pg_policy
Next
From: Tom Lane
Date:
Subject: Re: missing toast table for pg_policy