Re: R: complex custom aggregate function

Поиск
Список
Период
Сортировка
От Scara Maccai
Тема Re: R: complex custom aggregate function
Дата
Msg-id 801713.58575.qm@web24608.mail.ird.yahoo.com
обсуждение исходный текст
Ответ на complex custom aggregate function  (Scara Maccai <m_lists@yahoo.it>)
Ответы R: R: complex custom aggregate function  ("Paolo Saudin" <paolo@ecometer.it>)
Список pgsql-general
> Paolo Saudin wrote:
> For that purpose, a sliding mean calculation I use the following
>
> CREATE TABLE tbl_ayas
> (
>   fulldate timestamp without time zone NOT NULL,
>   id_1 real, -- temperature
>   id_2 real, -- pressure
>   ..........
>   CONSTRAINT tbl_ayas_pkey PRIMARY KEY (fulldate)
> ) WITH (OIDS=FALSE);
>
> [...]

> Select perl_sliding_mean(0,0,0,0,'f','t');
> SELECT perl_sliding_mean(0," id_1 ", 8, 6, 'f', 'f') AS numeric), 1) AS
> "ayas_temperature",
>      perl_sliding_mean(1," id_2 ", 8, 6, 'f', 'f') AS numeric), 1) AS
> "ayas_pressure"


I don't understand: how can you be sure that data is passed to the function ordered by "fulldate"?
Thank you.





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

Предыдущее
От: durumdara
Дата:
Сообщение: Re: PGSQL or other DB?
Следующее
От: Mohamed
Дата:
Сообщение: Fulltext search configuration