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

From Teodor Sigaev
Subject Re: CREATE AGGREGATE disallows STYPE = internal
Date
Msg-id 491D593C.8090209@sigaev.ru
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  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Simple postgresql.conf wizard
Next
From: KaiGai Kohei
Date:
Subject: Updates of SE-PostgreSQL 8.4devel patches (r1216)