Skip to content

Commit 36bdfa5

Browse files
committed
Get rid of pg_dump's README
It was largely full of outdated and incorrect information. Move the few notes which were still relevant into header comments of pg_backup_tar.c and pg_dumpall.c. Josh Kupershmidt
1 parent 7fcbf6a commit 36bdfa5

File tree

3 files changed

+6
-79
lines changed

3 files changed

+6
-79
lines changed

src/bin/pg_dump/README

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/bin/pg_dump/pg_backup_tar.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
* This file is copied from the 'files' format file, but dumps data into
66
* one temp file then sends it to the output TAR archive.
77
*
8+
* The tar format also includes a 'restore.sql' script which is there for
9+
* the benefit of humans. This script is never used by pg_restore.
10+
*
811
* NOTE: If you untar the created 'tar' file, the resulting files are
912
* compatible with the 'directory' format. Please keep the two formats in
1013
* sync.
1114
*
12-
* See the headers to pg_backup_files & pg_restore for more details.
15+
* See the headers to pg_backup_directory & pg_restore for more details.
1316
*
1417
* Copyright (c) 2000, Philip Warner
1518
* Rights are granted to use this software in any way so long

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
8+
* pg_dumpall forces all pg_dump output to be text, since it also outputs
9+
* text into the same output stream.
810
*
911
* src/bin/pg_dump/pg_dumpall.c
1012
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy