From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | missing toast table for pg_policy |
Date: | 2018-02-16 21:56:15 |
Message-ID: | 84ddff04-f122-784b-b6c5-3536804495f8@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
toastable-policy.diff | text/x-patch | 536 bytes |
large-policy-error.sql | application/sql | 24.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-02-16 22:07:39 | Re: missing toast table for pg_policy |
Previous Message | Andrew Dunstan | 2018-02-16 21:46:42 | Re: ALTER TABLE ADD COLUMN fast default |