Re: CREATE AGGREGATE disallows STYPE = internal - Mailing list pgsql-hackers

From Robert Haas
Subject Re: CREATE AGGREGATE disallows STYPE = internal
Date
Msg-id 603c8f070811140640if4526actf3484fc27410a048@mail.gmail.com
Whole thread Raw
In response to CREATE AGGREGATE disallows STYPE = internal  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE AGGREGATE disallows STYPE = internal
List pgsql-hackers
> You can certainly screw yourself up by connecting some incompatible
> internal-accepting functions together this way.  So what I propose is
> that we allow STYPE = internal to be specified in CREATE AGGREGATE,
> but only by superusers, who are trusted not to create security holes
> anyway.
>
> Comments?

To me, that sounds like a foot-gun you could take out a tank with.

I would feel a lot better about it if we could invent some way of
distinguishing between different types of "internal", based on what is
actually being pointed to.

...Robert


pgsql-hackers by date:

Previous
From: "Dmitry Koterov"
Date:
Subject: Re: Sometimes pg_dump generates dump which is not restorable
Next
From: Simon Riggs
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)