Re: Request for change in PL/PGSQL function handler
От
Josh Berkus
Тема
Re: Request for change in PL/PGSQL function handler
Дата
Msg-id
3A71CA9D.6C588E97@agliodbs.com
Список
Дерево обсуждения
Re: Request for change in PL/PGSQL function handler Josh Berkus <josh@agliodbs.com>
Tom, > Say what? > > regression=# create function foo(int) returns int as ' > regression'# begin > regression'# if $1 > 10 then return $1; > regression'# end if; > regression'# return $1 - 1; > regression'# end;' language 'plpgsql'; > CREATE Hmmm? When I've tried creating similar functions, I got from the compiler: Error at or near 'END' I'll try your code above as a test, then try re-modifying some of my own functions. -Josh Berkus -- ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 436-9166 for law firms, small businesses fax 436-0137 and non-profit organizations. pager 338-4078 San Francisco
В списке pgsql-sql по дате отправления