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

From Andy Colson
Subject Re: loading a function from a file
Date
Msg-id 4F707BE1.7040107@squeakycode.net
Whole thread Raw
In response to loading a function from a file  (and <andreaesposito77@gmail.com>)
List pgsql-general
On 3/26/2012 4:32 AM, and 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?
>

You can put default passwords into a .pgpass file, then psql wont prompt
you for it.

-Andy

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: loading a function from a file
Next
From: Adrian Klaver
Date:
Subject: Re: loading a function from a file