Re: loading a function from a file - Mailing list pgsql-general

From Merlin Moncure
Subject Re: loading a function from a file
Date
Msg-id CAHyXU0ytOxM6tXcMZdtWRNzaUU=Pr820sRvw4-bELk9YNo5_4w@mail.gmail.com
Whole thread Raw
In response to loading a function from a file  (and <andreaesposito77@gmail.com>)
List pgsql-general
On Mon, Mar 26, 2012 at 4:32 AM, and <andreaesposito77@gmail.com> wrote:
> Hi all,
> I would like to know how to load a user defined function from a file
> written in pl/pgsql.
>
> I have read it on logging
> psql -h host database <  create_some_func.sql
> but then i am forced to redo the login.Is there another way to do it?

what is login.ls?  what exactly about the above is not working for you?

merlin

pgsql-general by date:

Previous
From: Maximilian Tyrtania
Date:
Subject: Re: compilation info without pg_config
Next
From: Andy Colson
Date:
Subject: Re: loading a function from a file