Re: Failed to restore/recreate database (one more piece of info)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le mardi 17 novembre 2009 à 07:57:41, Tena Sakai a écrit :
> Hi Tom,
> 
> Many thanks for your assistance.
> 
> I am on my way.  Here's what I am doing:
> 
>   dropdb musket
>   createdb musket
>   pg_dump canon > canon.dump
>   psql -d musket -f canon.dump
> 
> I am on the 4th step.  But I could achieve the same with:
> 
>   dropdb musket
>   createdb musket
>   pg_dump canon | psql -d musket -f -
> 
> can't I?

You can do it this way.

> Aside from styling, there is no functional difference
> between two procedures, is there?
> 

You're right, there are no functional differences.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com.

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux