| От | Alvaro Herrera |
|---|---|
| Тема | Re: For loop |
| Дата | |
| Msg-id | 20070313134041.GB6715@alvh.no-ip.org обсуждение |
| Ответ на | Re: For loop ("Ezequias R. da Rocha" <ezequias@fastcon.com.br>) |
| Список | pgsql-sql |
Ezequias R. da Rocha wrote: > I quetion one more time. I must have a function ? Isn't another way to > implement it without using functions ? The syntax you show is plpgsql. You cannot use that without a function. (The alternative would be to script the bulk insertion client-side, which I'd think is smarter anyway). If what you need to do is batch processing of rows to produce other rows, then maybe you can craft an INSERT .. SELECT query to do it instead of this row-at-a-time approach. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера