Skip to content

Commit

Permalink
postgres: add test files
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Safonov committed Oct 31, 2022
1 parent 7f7f729 commit de68785
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
$ fq -d pg_wal -o flavour=pgproee11 "dv" 000000010000000000000001
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.[0:2]: 000000010000000000000001 (pg_wal) 0x0-0x3fff.7 (16384)
| | | [0]{}: page 0x0-0x211f.7 (8480)
| | | xloog_page_header_data{}: 0x0-0x27.7 (40)
0x0000|97 d0 |.. | xlp_magic: 53399 0x0-0x1.7 (2)
0x0000| 02 00 | .. | xlp_info: 2 0x2-0x3.7 (2)
0x0000| 01 00 00 00 | .... | xlp_tli: 1 0x4-0x7.7 (4)
0x0000| 00 00 00 01 00 00 00 00| ........| xlp_pageaddr: 16777216 0x8-0xf.7 (8)
0x0010|00 00 00 00 |.... | xlp_rem_len: 0 0x10-0x13.7 (4)
0x0010| 00 00 00 00 | .... | padding0: 0 0x14-0x17.7 (4)
| | | xlog_long_page_header_data{}: 0x18-0x27.7 (16)
0x0010| a5 16 6b c1 b3 dc 5b 63| ..k...[c| xlp_sysid: 7159558697237812901 0x18-0x1f.7 (8)
0x0020|00 00 00 01 |.... | xlp_seg_size: 16777216 0x20-0x23.7 (4)
0x0020| 00 20 00 00 | . .. | xlp_xlog_blcksz: 8192 0x24-0x27.7 (4)
| | | records[0:2]: 0x28-0x211f.7 (8440)
| | | [0]{}: xlog_record 0x28-0xc7.7 (160)
| | | lsn: "0/1000028" (16777256) 0x28-NA (0)
0x0020| 9a 00 00 00 | .... | xl_tot_len: 154 0x28-0x2b.7 (4)
0x0020| 00 00 00 00| ....| xlog_body0: raw bits 0x2c-0xc1.7 (150)
0x0030|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0xc1.7 (150) | |
0x0020| 00 00 00 00| ....| hole0: 0 0x2c-0x2f.7 (4)
0x0030|00 00 00 00 00 00 00 00 |........ | xl_xid: 0 0x30-0x37.7 (8)
0x0030| 00 00 00 00 00 00 00 00| ........| xl_prev: "0/0" (0) 0x38-0x3f.7 (8)
0x0040|00 |. | xl_info: 0 0x40-0x40.7 (1)
0x0040| 00 | . | xl_rmid: 0 0x41-0x41.7 (1)
0x0040| 00 00 | .. | hole1: 0 0x42-0x43.7 (2)
0x0040| eb 83 cd 38 | ...8 | xl_crc: 952992747 0x44-0x47.7 (4)
0x00c0| 00 00 00 00 00 00 | ...... | align0: raw bits 0xc2-0xc7.7 (6)
| | | [1]{}: xlog_record 0xc8-0x211f.7 (8280)
| | | lsn: "0/10000C8" (16777416) 0xc8-NA (0)
0x00c0| 39 20 00 00 | 9 .. | xl_tot_len: 8249 0xc8-0xcb.7 (4)
0x00c0| 00 00 00 00| ....| xlog_body0: raw bits 0xcc-0x1fff.7 (7988)
0x00d0|01 00 00 00 00 00 00 00 28 00 00 01 00 00 00 00|........(.......|
* |until 0x1fff.7 (7988) | |
0x00c0| 00 00 00 00| ....| hole0: 0 0xcc-0xcf.7 (4)
0x00d0|01 00 00 00 00 00 00 00 |........ | xl_xid: 1 0xd0-0xd7.7 (8)
0x00d0| 28 00 00 01 00 00 00 00| (.......| xl_prev: "0/1000028" (16777256) 0xd8-0xdf.7 (8)
0x00e0|a0 |. | xl_info: 160 0xe0-0xe0.7 (1)
0x00e0| 00 | . | xl_rmid: 0 0xe1-0xe1.7 (1)
0x00e0| 00 00 | .. | hole1: 0 0xe2-0xe3.7 (2)
0x00e0| 92 ef 16 7c | ...| | xl_crc: 2081877906 0xe4-0xe7.7 (4)
0x2010| 00 00 00 00 00 00 00 00| ........| xlog_body1: raw bits 0x2018-0x211f.7 (264)
0x2020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
* |until 0x211f.7 (264) | |
| | | [1]{}: page 0x2000-0x3fff.7 (8192)
| | | xloog_page_header_data{}: 0x2000-0x2017.7 (24)
0x2000|97 d0 |.. | xlp_magic: 53399 0x2000-0x2001.7 (2)
0x2000| 05 00 | .. | xlp_info: 5 0x2002-0x2003.7 (2)
0x2000| 01 00 00 00 | .... | xlp_tli: 1 0x2004-0x2007.7 (4)
0x2000| 00 20 00 01 00 00 00 00| . ......| xlp_pageaddr: 16785408 0x2008-0x200f.7 (8)
0x2010|01 01 00 00 |.... | xlp_rem_len: 257 0x2010-0x2013.7 (4)
0x2010| 00 00 00 00 | .... | padding0: 0 0x2014-0x2017.7 (4)
| | | records[0:1]: 0x2120-0x3fff.7 (7904)
| | | [0]{}: xlog_record 0x2120-0x3fff.7 (7904)
| | | lsn: "0/1002120" (16785696) 0x2120-NA (0)
0x2120|39 20 00 00 |9 .. | xl_tot_len: 8249 0x2120-0x2123.7 (4)
0x2120| 00 00 00 00 01 00 00 00 00 00 00 00| ............| xlog_body0: raw bits 0x2124-0x3fff.7 (7900)
0x2130|c8 00 00 01 00 00 00 00 a0 00 00 00 75 99 fa f5|............u...|
* |until 0x3fff.7 (end) (7900) | |
0x2120| 00 00 00 00 | .... | hole0: 0 0x2124-0x2127.7 (4)
0x2120| 01 00 00 00 00 00 00 00| ........| xl_xid: 1 0x2128-0x212f.7 (8)
0x2130|c8 00 00 01 00 00 00 00 |........ | xl_prev: "0/10000C8" (16777416) 0x2130-0x2137.7 (8)
0x2130| a0 | . | xl_info: 160 0x2138-0x2138.7 (1)
0x2130| 00 | . | xl_rmid: 0 0x2139-0x2139.7 (1)
0x2130| 00 00 | .. | hole1: 0 0x213a-0x213b.7 (2)
0x2130| 75 99 fa f5| u...| xl_crc: 4126841205 0x213c-0x213f.7 (4)

0 comments on commit de68785

Please sign in to comment.