pgAdmin

From: "Yaroslav Ulyanov" <yulyanov(at)mera(dot)ru>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: pgAdmin
Date: 2003-09-04 08:40:45
Message-ID: 015501c372c0$3ba93ca0$800ca8c0@meraqms.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello

I cannot write new function with local variables:

CREATE FUNCTION "get_new_id1" () RETURNS bigint AS'
declare
id bigint;
begin
id:=nextval(\'id_sequence\'::text);
return id;
end;
'LANGUAGE 'sql' VOLATILE ;

Error message see when compiling:

ERROR: parser: parse error at or near "bigint" at character 16

That I do wrong?

Best regards,
Yaroslav Ulyanov
yulyanov(at)mera(dot)ru

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Stephenson 2003-09-04 08:48:17 Re: pgAdmin
Previous Message Yaroslav Ulyanov 2003-09-04 08:34:08 pgAdmin3 - create function problem