Re: Looking for auto starting procedures

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: mabra <mabra(at)manfbraun(dot)de>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Looking for auto starting procedures
Date: 2010-12-03 00:21:50
Message-ID: 1291335642-sup-7594@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excerpts from mabra's message of jue dic 02 20:04:36 -0300 2010:

> I've just not understood, when I have to write a function to test sql code
> and when I can do it interactively.

In Postgres, PL/pgSQL and SQL are two different languages. There are
things in PL/pgSQL that you cannot do in pure SQL. RAISE is one of
them.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Vanasco 2010-12-03 05:31:32 Re: how can i bugfix "idle in transaction" lockups ?
Previous Message Brent Wood 2010-12-03 00:15:55 Re: Dumping a table from one database and adding it to another