loading a function from a file

From: and <andreaesposito77(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: loading a function from a file
Date: 2012-03-26 09:32:50
Message-ID: bf90339e-9de8-4343-821b-dc1cd04e238d@gw9g2000vbb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-03-26 09:34:07 Re: compilation info without pg_config
Previous Message Frank Lanitz 2012-03-26 09:32:17 Values inside rolvaliduntil of pg_authid