Обсуждение: copy database when create database

Поиск
Список
Период
Сортировка

copy database when create database

От
"frank_lupo"
Дата:
In the form for creation new database is not possible to specify the
template alternative.
Es. line command for copy database:
createdb db -Tdb1

Bye !!
Frank Lupo (Wolf) !!



--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Cerchi una vera occasione? Trovala su eBay,il mercato online del mondo.
Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=528&d=2-7



Re: copy database when create database

От
"Dave Page"
Дата:

> -----Original Message-----
> From: frank_lupo [mailto:frank_lupo@email.it]
> Sent: 02 July 2002 16:09
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] copy database when create database
>
>
> In the form for creation new database is not possible to
> specify the template alternative. Es. line command for copy
> database: createdb db -Tdb1
>
> Bye !!
> Frank Lupo (Wolf) !!
>

Yes, I've thought about that in the past. It would be a nice feature,
but certainly prior to the 1.3 code, it would not have worked because
you can only copy a database that has no open connections, and of
course, pgAdmin <= 1.2.0 automatically opens connections to all
databases. I will have a play and see if it will work in 1.3.

Regards, Dave.