options">
|
- Switch
+ Option
Description
and -t> takes a tablename (actually, it's a LIKE
pattern, so you can use things like foo%>).
You can use as many
- of these switches as you like, and the listing will include all objects
- matched by any of the switches. But note that these switches can only
+ of these options as you like, and the listing will include all objects
+ matched by any of the options. But note that these options can only
show objects in the database given by -d>.
If you don't give any of -o>, -f> or -t>,
but do give -d>, it will list all tables in the database
named by -d>. In this mode, the -S> and
- -i> switches control what gets listed.
+ -i> options control what gets listed.
-
+
pg_upgrade
+
+
+
pg_upgrade accepts the following command-line arguments:
+
+
+
+
+ -d OLDDATADIR>
+ --old-datadir OLDDATADIR>
+
specify the old cluster data directory
+
+
+
+ -D NEWDATADIR>
+ --new-datadir NEWDATADIR>
+
specify the new cluster data directory
+
+
+
+ -b OLDBINDIR>
+ --old-bindir OLDBINDIR>
+
specify the old cluster executable directory
+
+
+
+ -B NEWBINDIR>
+ --new-bindir NEWBINDIR>
+
specify the new cluster executable directory
+
+
+
+ -p portnum>
+ --old-port portnum>
+
specify the old cluster port number
+
+
+
+ -P portnum>
+ --new-port portnum>
+
specify the new cluster port number
+
+
+
+ -u username>
+ --user username>
+
+
+
+ -c
+ --check
+
check clusters only, don't change any data
+
+
+
+ -d
+ --debug
+
+
+
+ -G DEBUGFILENAME>
+ --debugfile DEBUGFILENAME>
+
output debugging activity to file
+
+
+
+ -k
+ --link
+
link instead of copying files to new cluster
+
+
+
+ -l LOGFILENAME>
+ --logfile LOGFILENAME>
+
log session activity to file
+
+
+
+ -v
+ --verbose
+
+
+
+ -V
+ --version
+
display version information, then exit
+
+
+
+ -h
+ --help
+
+
+
+
+
+
+
Upgrade Steps