Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbed81bc

Browse files
committed
Add pg_dump/restore item to FAQ.
Martijn van Oosterhout
1 parentd1fcd33 commitbed81bc

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎doc/src/FAQ/FAQ.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ <H2 align="center">Administrative Questions</H2>
8181
clients"</I> when trying to connect?<BR>
8282
<Ahref="#3.9">3.9</A>) What are the<I>pg_sorttempNNN.NN</I>
8383
files in my database directory?<BR>
84+
<Ahref="#3.10">3.10</A>) Why do I need to do a dump and restore
85+
to upgrade PostgreSQL?<BR>
8486

8587

8688
<H2align="center">Operational Questions</H2>
@@ -776,6 +778,26 @@ <H4><A name="3.9">3.9</A>) What are the <I>pg_sorttempNNN.NN</I>
776778
not if a backend crashes during a sort. If you have no backends
777779
running at the time, it is safe to delete the pg_tempNNN.NN
778780
files.</P>
781+
782+
<H4><Aname="3.10">3.10</A>) Why do I need to do a dump and restore
783+
to upgrade PostgreSQL?</H4>
784+
785+
<P>The PostgreSQL team tries very heard to maintain compatability across
786+
minor releases. So upgrading from 7.2 to 7.2.1 does not require a dump a
787+
restore. However, new features are continuously being adding and
788+
sometimes this requires new fields to be added to system tables.
789+
790+
<P>These changes may be across many tables and so maintaining backward
791+
compatability would be quite difficult. Thus, restoring from a dump is
792+
required to make everything work.
793+
794+
<P>Note that the actual on-disk file format does not change very often,
795+
a feature the pg_upgrade script uses quite successfully. There the dump
796+
is used create the necessary information in the system tables. The data
797+
files are then just copied across. This method is not as guarenteed as
798+
the dump/restore method but when it works it can make upgrades very
799+
efficient.
800+
779801
<HR>
780802

781803
<H2align="center">Operational Questions</H2>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp