missing toast table for pg_policy - Mailing list pgsql-hackers

From Joe Conway
Subject missing toast table for pg_policy
Date
Msg-id 84ddff04-f122-784b-b6c5-3536804495f8@joeconway.com
Whole thread Raw
Responses Re: missing toast table for pg_policy  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Currently if you try to create a too large policy, it fails with:

  ERROR: row is too big: size XXXXX, maximum size 8160

An example for reproducing this is attached.

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.

Thoughts?

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

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: ALTER TABLE ADD COLUMN fast default
Next
From: Andres Freund
Date:
Subject: Re: missing toast table for pg_policy