Re: store multiple rows with the SELECT INTO statement

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: store multiple rows with the SELECT INTO statement
Дата
Msg-id 52269728.6030602@gmail.com
обсуждение исходный текст
Ответ на store multiple rows with the SELECT INTO statement  ("Janek Sendrowski" <janek12@web.de>)
Список pgsql-general
On 09/03/2013 04:34 PM, Janek Sendrowski wrote:
> A loop through every input sentence
> FOR i IN 1..array_length(p_sentence, 1) LOOP
>      FOR some_rec IN EXECUTE "SELECT * FROM table WHERE "Fulltextsearch
> statement" LOOP
>          "Insert the current record data into the temp table"
>      END LOOP;
> END LOOP;
> Do a next query on the table

Forgot to mention the FOREACH loop is in Postgres 9.1+
--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Generic function for partitioning function?
Следующее
От: Joe Van Dyk
Дата:
Сообщение: Re: uuids with btree_gist