ports/databases/pg_filedump/Makefile
Po-Chuan Hsieh c18ccc804a
databases/pg_filedump: Add pg_filedump 14.0
pg_filedump is a utility to format PostgreSQL heap/index/control files into a
human-readable form. You can format/dump the files several ways, as listed in
the Invocation section, as well as dumping straight binary.

The type of file (heap/index) can usually be determined automatically by the
content of the blocks within the file. However, to format a pg_control file you
must use the -c option.

The default is to format the entire file using the block size listed in block 0
and display block relative addresses. These defaults can be modified using
run-time options.

Some options may seem strange but they're there for a reason. For example, block
size. It's there because if the header of block 0 is corrupt, you need a method
of forcing a block size.

WWW: https://github.com/df7cb/pg_filedump
2021-10-14 03:10:18 +08:00

23 lines
457 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= pg_filedump
PORTVERSION= 14.0
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Display formatted contents of a PostgreSQL heap, index, or control file
LICENSE= GPLv2+
USES= gmake pgsql
MAKE_ARGS= PG_LDFLAGS=-lintl
WANT_PGSQL= lib server
PLIST_FILES= bin/pg_filedump
GH_ACCOUNT= df7cb
GH_TAGNAME= REL_${PORTVERSION:R}_${PORTVERSION:E}
USE_GITHUB= yes
.include <bsd.port.mk>