| From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
|---|---|
| To: | sandrigo lezcano <psql(at)msa(dot)com(dot)py> |
| Cc: | Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, Pgsql-ayuda <Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx> |
| Subject: | Re: [Pgsql-ayuda] RV: function syb/pgsql |
| Date: | 2003-06-04 00:05:59 |
| Message-ID: | 20030604000559.GA3526@dcc.uchile.cl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
On Tue, Jun 03, 2003 at 08:03:04PM -0500, sandrigo lezcano wrote:
> > El declare es opcional, el begin/end es obligatorio para funciones en
> > plpgsql. En otros lenguajes la cosa cambia.
>
> en los ejemplos tengo que es:
>
> LANGUAGE 'plpgsql';
> pero el que me acepta a mi es el 'SQL' por lo que creo,
> ..es más, ya probe y me acepta sin el DECLARE y sin el BEGIN/END
Entonces ejecuta
% createlang plpgsql
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"I think my standards have lowered enough that now I think 'good design'
is when the page doesn't irritate the living fuck out of me." (JWZ)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2003-06-04 00:07:13 | Re: [Pgsql-ayuda] ERROR: parser: parse error at or near "DECLARE" |
| Previous Message | Manuel Sugawara | 2003-06-03 23:44:36 | Re: [Pgsql-ayuda] RV: function syb/pgsql |