On 26 March 2012 11:32, and <andreaesposito77@xxxxxxxxx> wrote: > 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? If you're working on the database server, then you can skip the "-h host" bit and use a socket. That does require that you didn't disallow those in pg_hba and that the OS supports socket files (Windows doesn't, for example). -- If you can't see the forest for the trees, Cut the trees and you'll see there is no forest. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general