Going beyond sql

From: Jon <jonov(at)iprimus(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Going beyond sql
Date: 2005-08-02 20:50:48
Message-ID: 42EFDCA8.1080007@iprimus.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'd like to run some scripts against a postgres database but has more
than just standard SQL commands. I'd like to be able to use conditional
statements (i.e. if .. .then ... ) and such. I had a look and can see
that I could use pgplsql for this. However it seems that it must be part
of a function. Is there any way of doing this without the function
coating as these commands would be a once off?

Jon.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John D. Burger 2005-08-02 20:52:54 Re: Slow Inserts on 1 table?
Previous Message Edmund Dengler 2005-08-02 20:45:00 Re: Failure to use indexes (fwd)