sintax error in script

From: Luis Daniel Lucio Quiroz <luis(dot)daniel(dot)lucio(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: sintax error in script
Date: 2010-05-29 01:09:45
Message-ID: 201005282009.46504.luis.daniel.lucio@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CREATE OR REPLACE FUNCTION to_number(integer)
RETURNS "numeric" AS
$BODY$
BEGIN
RETURN to_number($1, 'S99999999999999D999999');
EXCEPTION
WHEN OTHERS THEN
RETURN NULL;
END;
$BODY$
LANGUAGE 'plpgsql' IMMUTABLE;
/-- END

pgsql is telling me /-- END has a sintax error,
just to confirm, is it okay if i get rid of that line?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Golberg 2010-05-29 01:28:37 getaddrinfo problems in pl/python
Previous Message Tom Wilcox 2010-05-29 00:43:48 Re: Out of Memory and Configuration Problems (Big Computer)