Re: Generating table rows from arrays

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: Generating table rows from arrays
Дата
Msg-id 82sku8buqv.fsf@mid.bfk.de
обсуждение исходный текст
Ответ на Re: Generating table rows from arrays  (Richard Huxton <dev@archonet.com>)
Список pgsql-sql
* Richard Huxton:

>> The first row is constant.  I could write a loop with PL/pgsql, I
>> guess, but I wonder if there are better options nowadays.
>
> The smallest function I've seen is Merlin Moncure's here:
>
> http://people.planetpostgresql.org/merlin/index.php?/archives/4-fun-with-arrays.html


Ah, neat trick.  Thanks.

--
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


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

Предыдущее
От: "Oliveiros Cristina"
Дата:
Сообщение: Re: How to GROUP results BY month
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_advisory_lock(bigint) vs. LOCK TABLE