pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: joosthelberg@gmail.com
Subject: create rule
Date: Fri, 03 Sep 2021 08:44:34 +0000
Message-ID: <163065867426.693.13530965660326653108@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/rules-views.html
Description:

Nowhere in the documentation is mentioned that rules can only be made on
tables without dropped columns and, much to my suprise, on empty tables
only. I wanted to use rules on existing tables to cater for
column-redaction, but this seems only possible by creating a new (empty)
table for all user to use and to hide the original table from everyone.
1. the documentation should state this (and not start with an example of use
of rules in views, which is a special case, I though).
2. the implementation should fix the only-on-empty tables issue (avoiding
having to change the documentation).


view thread (2+ messages)  latest in thread

Message-ID: <163065867426.693.13530965660326653108@wrigleys.postgresql.org>
Permalink:  ../163065867426.693.13530965660326653108@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/163065867426.693.13530965660326653108@wrigleys.postgresql.org

 · 

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: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, joosthelberg@gmail.com
  Subject: Re: create rule
  In-Reply-To: <163065867426.693.13530965660326653108@wrigleys.postgresql.org>

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

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