filippo wrote:
The problem with the current implementation is that sometime pd_dump and psql ask for password but I want to create the database copy without any user typing (it is a cron script)
Consider using the PGPASSWORD environment variable or .pgpass file. -- Richard Huxton Archonet Ltd