Re: Annotated release notes

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Annotated release notes
Дата
Msg-id 3FA1F902.7000407@joeconway.com
обсуждение исходный текст
Ответ на Annotated release notes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Annotated release notes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Annotated release notes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
Bruce Momjian wrote:
>     http://candle.pha.pa.us/main/writings/pgsql/sgml/release.html#RELEASE-7-4
>
> I need people to check this and help me with the items marked 'bjm'.  I
> am confused about the proper text for those sections.

 > Allow polymorphic SQL functions (Joe)
 > bjm ??

What isn't clear about this? Should/can we refer to related sections of
the manual?
http://developer.postgresql.org/docs/postgres/xfunc-sql.html#AEN28722
http://developer.postgresql.org/docs/postgres/extend-type-system.html#EXTEND-TYPES-POLYMORPHIC

 > Allow user defined aggregates to use polymorphic functions (Joe)
 > bjm ??

Same question. From this url:
http://developer.postgresql.org/docs/postgres/xaggr.html
see this paragraph:

  Aggregate functions may use polymorphic state transition functions or
final functions, so that the same functions can be used to implement
multiple aggregates. See Section 33.2.1  for an explanation of
polymorphic functions. Going a step further, the aggregate function
itself may be specified with a polymorphic base type and state type,
allowing a single aggregate definition to serve for multiple input data
types. Here is an example of a polymorphic aggregate:

CREATE AGGREGATE array_accum (
     sfunc = array_append,
     basetype = anyelement,
     stype = anyarray,
     initcond = '{}'
);

Joe


В списке pgsql-docs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Annotated release notes
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Runtime Basics