Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: como anidar funciones plpgsql


  • From: "Carlos Mendez" <lucas1850(at)gmail(dot)com>
  • To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
  • Cc: pgsql-es-ayuda(at)postgresql(dot)org
  • Subject: Re: como anidar funciones plpgsql
  • Date: Thu, 31 Jan 2008 10:51:19 -0400
  • Message-id: <4610af1f0801310651x3e7be0a5ud27d92b6aa5b3395(at)mail(dot)gmail(dot)com>

Si, tienen razon, Muchas gracias por la ayuda,
saludos.

 
2008/1/31, Alvaro Herrera <alvherre(at)commandprompt(dot)com>:
Carlos Mendez escribió:

> NOTICE:  al principio bandera vale: <NULL>
> CONTEXTO:  SQL statement "SELECT  insertar()"
> PL/pgSQL function "unirfunc" line 8 at perform
> NOTICE:  select * from alumnos where id=1  //esta consulta la escribi con
> raise notice
> CONTEXTO:  SQL statement "SELECT  insertar()"
> PL/pgSQL function "unirfunc" line 8 at perform

El CONTEXTO es parte del NOTICE.  Esta ahi para decirte en que lugar se
esta invocando el NOTICE.  Cuando quites el RAISE NOTICE, desaparecera
tambien el contexto.  Es decir, en el pedazo de log de arriba solo hay
dos mensajes de log: el "al principio el bandera vale" y el "select *
from alumnos".  El resto de las lineas son parte de cada uno.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group