From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Sonda Rommel Asitimbay <rasitimbay(at)bcm(dot)fin(dot)ec> |
Cc: | "Postgres Postgres (E-mail)" <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: FUNCIONES Y PROCEDIMIENTOS |
Date: | 2005-12-23 15:31:59 |
Message-ID: | 20051223153159.GF26106@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Sonda Rommel Asitimbay escribió:
Observa esto con cuidado:
> bcmpost-# CREATE LANGUAGE plpgsql;
^
> ERROR: syntax error at or near "CREATE" at character 25
> LINE 2: CREATE LANGUAGE plpgsql;
> ^
Puse el ^ apuntando al guion que hay entre bcmpost y el #. Este -
significa que hay un comando a medio escribir desde una linea anterior.
Prueba algo asi:
bcmpost=# select <enter>
bcmpost-#
Ahora apreta Ctrl-C (cambia el - en =):
bcmpost=# select <enter>
bcmpost-# CREATE LANGUAGE plpgsql;
Etc. Experimenta con eso. psql es muy util para mostrar el estado en
que esta; solo tienes que saber donde mirar.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Mario Gonzalez | 2005-12-23 15:46:00 | Re: tengo el siguiente problema |
Previous Message | Mario Gonzalez | 2005-12-23 15:30:57 | Re: Clave Primaria |