Formats VMware Greenplum data files into human-readable form.
pg_filedump [<option> ...] <filename>
pg_filedump -? | -h | --help
pg_filedump -V | --version
The pg_filedump
utility formats VMware Greenplum data files -- including table, index and control files -- into a human-readable format.
To use pg_filedump
, you must have:
gpsupport
1.0.3 or higher installedgpsupport
executable pathNOTE
pg_filedump
is currently only supported for Greenplum 7 data files.
Optional. Display binary block images within a range. (This option disables all formatting options.)
-d
-D : Optional. Decode tuples using given comma separated list of types. Supported types include bigint
, bigserial
, bool
, char
, charN
, date
, float
, float4
, float8
, int
, json
, macaddr
, name
, oid
, real
, serial
, smallint
, smallserial
, text
, time
, timestamp
, timetz
, uuid
, varchar
, varcharN
, xid
, xml
.
Any attributes in the tuple not specified by D
arguments will not be printed.
0
.
where
NOTEIf you pass
without also passing , the -R
option will from the starting block until the end of the file.
zlib
,
zstd
,
quicklz
or none). If not specified, defaults to none.
1
,
2
,
3
, or
4
). If not specified, defaults to
0
.
row
or
column
); if not specified, defaults to
row
.
Display the contents of a heap relation file:
pg_filedump <filename>
Display the contents of a heap relation file; the table in questions has two columns of type int
:
pg_filedump -D int,int <filename>
Display the contents of an append-optimized, row-oriented relation file:
pg_filedump -z -O row <filename>
Display the contents of a control file:
pg_filedump -c <filename>