Re: loading a function from a file

Поиск
Список
Период
Сортировка
От Andy Colson
Тема Re: loading a function from a file
Дата
Msg-id 4F707BE1.7040107@squeakycode.net
обсуждение исходный текст
Ответ на loading a function from a file  (and <andreaesposito77@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: loading a function from a file
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: loading a function from a file