From: | "Serge Fonville" <serge(dot)fonville(at)gmail(dot)com> |
---|---|
To: | donna(at)therudds(dot)co(dot)uk |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: How do I 'include' a stored procedure in a SQL script file |
Date: | 2009-01-07 12:41:43 |
Message-ID: | 680cbe0e0901070441w6a160458qdfefbd314ad7a5c3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
An .sql file is just a list of sql you can just as well enter when running
psql.If you had the psql prompt open, what would you type to execute the
commands in an .sql file, limited to 'true' sql and not psql specific
commands
If you know that you know which lines to add to the .sql file
Hope this helps
Regards,
Serge fonville
On Wed, Jan 7, 2009 at 12:41 PM, Donna Rudd <donna(at)therudds(dot)co(dot)uk> wrote:
> Hi,
> All I want to do is 'include' a stored procedure (contained in another
> script file) into my main PostgreSQL database creation script file so that
> it can get defined/declared before I define my triggers to call it. It
> seems
> such a simple thing but I don't seem to be able to find any examples or
> documentation. Please help!
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | A. Kretschmer | 2009-01-07 12:47:23 | Re: How do I 'include' a stored procedure in a SQL script file |
Previous Message | Donna Rudd | 2009-01-07 11:41:20 | How do I 'include' a stored procedure in a SQL script file |