pg_filedump 10.0 released
Christoph Berg <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.announce |
|---|---|
| Message-ID | <[email protected]> |
pg_filedump 10.0 released
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.
https://wiki.postgresql.org/wiki/Pg_filedump
New in version 10.0 is the ability to decode tuples by giving a list
of type names:
-D Decode tuples using given comma separated list of types.
List of supported types:
* bigint
* bigserial
* bool
* char
* charN -- char(n)
* date
* float
* float4
* float8
* int
* json
* macaddr
* name
* oid
* real
* serial
* smallint
* smallserial
* text
* time
* timestamp
* timetz
* uuid
* varchar
* varcharN -- varchar(n)
* xid
* xml
* ~ -- ignores all attributes left in a tuple
For instance, pg_attribute can be decoded like this:
pg_filedump -D oid,name,oid,int,smallint,~ path/to/segment/1249
This feature was implemented by Aleksander Alekseev, reviewed by
Dmitry Ivanov, tested by Dmitry Ivanov and Grigoriy Smolkin.
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAlns5aYACgkQTFprqxLS p65jhA/+N7bNBQ4YnKJUTPB6ZJnq8bGS4PoocGhkhXd0IMvnrg9ilDSv+V44atkH sUiJqP4euz8JbYyYwGX0UXPKQ6FuNKXyTSvJGMy3jwNK0cbHK97GrUOKviV7r/Lf Vegy0LBj7WTsKr1GrcjaNP3/c4JdAFElDtKrrSEX+2wIOToC8sI1j8LTBpLaHeZy 9OhZDwDkSZcZ1N1SEI/PgoHWwWVlG4cSkauhHU8r4a5eJY3ptkCbRkgiKiJp90Lw n/OL8HW6oDUJEkL+LSBfOUYh7TttruIDE4ANZaDHp00HZFFaZcBCRmOzKNWci6jS DcPTBl/nPoIjD+rf6PAAEc/YrdEYEYSVJQvylnd3JLqr/osMQarE86JlgVXJwlWq 9wUVDEVQNS99ZpEInM9ZtCLOREZQboNd3RJu2sUunO4iTloH6QzhIvgvE/NPgfbr z6I4dtNwF61ud5vDdyo2AoWBPgEyKk+41BbYyAZ9fs78qXCFsq4tdFgb4a07VLHs y9mPDhgZHfn9Jg6VDAwR+HRWO1Yc9wyhRL4heAdxfM/mCgFc3uDhE5yrQ/gzRkbe fxbF6T9wfArqOu8rBLRnZ2+aWpH27Fd9xplHArk8kNoXRBaqs847zvmy36+2P+lm ntc+OqsqRkUbd2whYZyTz5/fpPbFazh4LDWX5zfd0mmffFitdPA= =AA6V -----END PGP SIGNATURE-----