Re: Typed table DDL loose ends

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-04-21T15:08:09Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Prevent a rowtype from being included in itself.

On Wed, 2011-04-20 at 10:44 -0400, Noah Misch wrote:
> If we add that ownership check, we'll protect some operations on the
> type.  The
> cost is localized divergence from our principle that types have no
> usage
> restrictions.  I'm of the opinion that it's not worth introducing that
> policy
> exception to block just some of these avenues of attack.  I would not
> object to
> it, though. 

So that means we should leave it as is for now?  Fine with me.