From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Honza Rudovsky <XRUDOVSK(at)cs(dot)felk(dot)cvut(dot)cz> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: PLPGSQL Installation |
Date: | 2001-11-14 15:44:54 |
Message-ID: | 6633.1005752694@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Honza Rudovsky <XRUDOVSK(at)cs(dot)felk(dot)cvut(dot)cz> writes:
> But when I try to run this (or any other) PLPGSQL function, i get this
> error message: "plpgsql: ERROR during compile of xxx near line 1".
Surely that's not the *only* message that comes out. There should be
some mention of what the syntax error is exactly.
FWIW, if you are putting in known-good examples, the only gotcha I'm
aware of is that until recently the plpgsql parser wouldn't accept
carriage return (\r) characters as whitespace. Depending on what
platform you're on and what tools you're using, perhaps newlines
are being pasted in as \r or \r\n instead of \n. If the error
message has peculiar-looking formatting then suspect this even more.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2001-11-14 15:59:20 | Re: PLPGSQL Installation |
Previous Message | amp | 2001-11-14 14:41:29 | Re: |