I am using the copy command for copy very large database. But I am
using it like it's described in tutorial "copy table from
'/file'..etc". So it takes a lot of time copy each table. Is there any
way how to create some function to copy all the directory ,or
something like foreach (table)...? That directory would contain
prepared tables already. I do not know lot about PostgreSQL functions
,so I am asking some advice.