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

Commit19f4556

Browse files
committed
pg_dump: Remove undocumented "files" output format
This was for demonstration only, and now it was creating compilerwarnings from zlib without an obvious fix (see alsod923125), let's just remove it. The"directory" format is presumably similar enough anyway.
1 parent9dbf2b7 commit19f4556

File tree

7 files changed

+1
-584
lines changed

7 files changed

+1
-584
lines changed

‎src/bin/pg_dump/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include $(top_builddir)/src/Makefile.global
1919
overrideCPPFLAGS := -I$(libpq_srcdir)$(CPPFLAGS)
2020

2121
OBJS=pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o\
22-
pg_backup_files.opg_backup_null.o pg_backup_tar.o\
22+
pg_backup_null.o pg_backup_tar.o\
2323
pg_backup_directory.o dumpmem.o dumputils.o compress_io.o$(WIN32RES)
2424

2525
KEYWRDOBJS = keywords.o kwlookup.o

‎src/bin/pg_dump/pg_backup.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ typedef enum _archiveFormat
4848
{
4949
archUnknown=0,
5050
archCustom=1,
51-
archFiles=2,
5251
archTar=3,
5352
archNull=4,
5453
archDirectory=5

‎src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -827,9 +827,6 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
827827

828828
switch (AH->format)
829829
{
830-
casearchFiles:
831-
fmtName="FILES";
832-
break;
833830
casearchCustom:
834831
fmtName="CUSTOM";
835832
break;
@@ -2017,10 +2014,6 @@ _allocAH(const char *FileSpec, const ArchiveFormat fmt,
20172014
InitArchiveFmt_Custom(AH);
20182015
break;
20192016

2020-
casearchFiles:
2021-
InitArchiveFmt_Files(AH);
2022-
break;
2023-
20242017
casearchNull:
20252018
InitArchiveFmt_Null(AH);
20262019
break;

‎src/bin/pg_dump/pg_backup_archiver.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ extern void EndRestoreBlob(ArchiveHandle *AH, Oid oid);
363363
externvoidEndRestoreBlobs(ArchiveHandle*AH);
364364

365365
externvoidInitArchiveFmt_Custom(ArchiveHandle*AH);
366-
externvoidInitArchiveFmt_Files(ArchiveHandle*AH);
367366
externvoidInitArchiveFmt_Null(ArchiveHandle*AH);
368367
externvoidInitArchiveFmt_Directory(ArchiveHandle*AH);
369368
externvoidInitArchiveFmt_Tar(ArchiveHandle*AH);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp