Re: CREATE AGGREGATE disallows STYPE = internal

From: "Robert Haas" <robertmhaas(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CREATE AGGREGATE disallows STYPE = internal
Date: 2008-11-14 14:40:09
Message-ID: 603c8f070811140640if4526actf3484fc27410a048@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-14 15:09:34 Re: CREATE AGGREGATE disallows STYPE = internal
Previous Message Dmitry Koterov 2008-11-14 14:34:02 Re: Sometimes pg_dump generates dump which is not restorable