snaga / xlogdump

A tool for extracting data from the PostgreSQL's write ahead logs.
http://pgsnaga.blogspot.com/2011/09/xlogdump-050-released.html
Other
59 stars 13 forks source link

Add unit test scripts to verify printing WAL records #3

Open snaga opened 12 years ago

snaga commented 12 years ago

Unit tests should be added to verify output of xlogdump.

The unit tests must be organized by "per resource manager" basis to test every resource manager operations.

At 9.2, there are 17 resource managers to be tested. 0:XLOG 1:Transaction 2:Storage 3:CLOG 4:Database 5:Tablespace 6:MultiXact 7:RelMap 8:Standby 9:Heap2 10:Heap 11:Btree 12:Hash 13:Gin 14:Gist 15:Sequence 16:SPGist

snaga commented 12 years ago

4:Database

done.

https://github.com/snaga/xlogdump/commit/9fc04077461cdcea65d428c9b4d204fd762b2173

snaga commented 12 years ago

7:RelMap

done.

https://github.com/snaga/xlogdump/commit/fc352521099d089ec4268cfa221ce0a747ba1bea