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