Re: Please help, can't figure out what's wrong with this function...

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Please help, can't figure out what's wrong with this function...
Дата
Msg-id 0892AC11-818F-4110-8EFC-93C8FC886EC2@pgedit.com
обсуждение исходный текст
Ответ на Please help, can't figure out what's wrong with this function...  (Moritz Bayer <moritz.bayer@googlemail.com>)
Список pgsql-sql
On Sep 12, 2005, at 8:14 AM, Moritz Bayer wrote:

> I get the following error:
> ERROR:  missing .. at end of SQL expression

it looks like your for loop is being interpreted as the integer  
variant, e.g. for i in 1..10 loop


> CREATE TYPE "public"."ty_stadtlandflussentry" AS (

> DECLARE objReturn ty_stadtlandflussentry;


Maybe it needs to be:

declare objReturn "public"."ty_stadtlandflussentry"%rowtype;



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



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

Предыдущее
От: Moritz Bayer
Дата:
Сообщение: Please help, can't figure out what's wrong with this function...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Please help, can't figure out what's wrong with this function...