Thread: pg_restore cannot restore function

pg_restore cannot restore function

From
Jie Liang
Date:
I use
pg_dump -Fc mydb > dbf
then I create anpther db by:
createdb mydb2
I use
pg_restore -P myfunction -d mydb2 dbf

cannot restore myfunction into mydb2


why??????



Jie Liang