Re: loading a function from a file

From: Andy Colson <andy(at)squeakycode(dot)net>
To: and <andreaesposito77(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: loading a function from a file
Date: 2012-03-26 14:23:29
Message-ID: 4F707BE1.7040107@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2012-03-26 14:27:04 Re: loading a function from a file
Previous Message Merlin Moncure 2012-03-26 14:22:25 Re: loading a function from a file