Re: CREATE AGGREGATE disallows STYPE = internal

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
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 10:55:56
Message-ID: 491D593C.8090209@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

Does that mean that it's possible to use as STYPE pointer to complex C-structure
with internal pointers?

If yes then performance of ts_stat() could be significantly increased.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-11-14 11:07:59 Re: Simple postgresql.conf wizard
Previous Message Richard Huxton 2008-11-14 10:47:46 Re: Simple postgresql.conf wizard