"Andrus" <kobruleht2(at)hot(dot)ee> writes:
> How to clone database fast ?
> How to create server side pl/pgsql script which use code like in
> pg_dump/pg_restore and or in pg_migrator and clones existing database or
> other idea ?
See pg_basebackup here:
https://github.com/dimitri/pg_basebackup
I'm wouldn't expect it to be "fast" though.
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support