mirror of
https://github.com/wader/fq.git
synced 2024-11-29 23:27:12 +03:00
postgres: add tests data
This commit is contained in:
parent
de68785a8d
commit
3c7ed5d73c
BIN
format/postgres/testdata/flavours/pgpro10/000000010000000000000001
vendored
Normal file
BIN
format/postgres/testdata/flavours/pgpro10/000000010000000000000001
vendored
Normal file
Binary file not shown.
64
format/postgres/testdata/flavours/pgpro10/000000010000000000000001_1.fqtest
vendored
Normal file
64
format/postgres/testdata/flavours/pgpro10/000000010000000000000001_1.fqtest
vendored
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
$ fq -d pg_wal "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-0x20e7.7 (8424)
|
||||||
|
| | | 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 f6 ad 96 85 60 5f 63| .....`_c| xlp_sysid: 7160548059417278117 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-0x20e7.7 (8384)
|
||||||
|
| | | [0]{}: xlog_record 0x28-0x97.7 (112)
|
||||||
|
| | | lsn: "0/1000028" (16777256) 0x28-NA (0)
|
||||||
|
0x0020| 6a 00 00 00 | j... | xl_tot_len: 106 0x28-0x2b.7 (4)
|
||||||
|
0x0020| 00 00 00 00| ....| xlog_body0: raw bits 0x2c-0x91.7 (102)
|
||||||
|
0x0030|00 00 00 00 00 00 00 00 00 00 00 00 00 a9 d6 0e|................|
|
||||||
|
* |until 0x91.7 (102) | |
|
||||||
|
0x0020| 00 00 00 00| ....| xl_xid: 0 0x2c-0x2f.7 (4)
|
||||||
|
0x0030|00 00 00 00 00 00 00 00 |........ | xl_prev: "0/0" (0) 0x30-0x37.7 (8)
|
||||||
|
0x0030| 00 | . | xl_info: 0 0x38-0x38.7 (1)
|
||||||
|
0x0030| 00 | . | xl_rmid: 0 0x39-0x39.7 (1)
|
||||||
|
0x0030| 00 00 | .. | hole1: 0 0x3a-0x3b.7 (2)
|
||||||
|
0x0030| 00 a9 d6 0e| ....| xl_crc: 248948992 0x3c-0x3f.7 (4)
|
||||||
|
0x0090| 00 00 00 00 00 00 | ...... | align0: raw bits 0x92-0x97.7 (6)
|
||||||
|
| | | [1]{}: xlog_record 0x98-0x20e7.7 (8272)
|
||||||
|
| | | lsn: "0/1000098" (16777368) 0x98-NA (0)
|
||||||
|
0x0090| 31 20 00 00 | 1 .. | xl_tot_len: 8241 0x98-0x9b.7 (4)
|
||||||
|
0x0090| 01 00 00 00| ....| xlog_body0: raw bits 0x9c-0x1fff.7 (8036)
|
||||||
|
0x00a0|28 00 00 01 00 00 00 00 a0 00 00 00 4b 4d 12 a0|(...........KM..|
|
||||||
|
* |until 0x1fff.7 (8036) | |
|
||||||
|
0x0090| 01 00 00 00| ....| xl_xid: 1 0x9c-0x9f.7 (4)
|
||||||
|
0x00a0|28 00 00 01 00 00 00 00 |(....... | xl_prev: "0/1000028" (16777256) 0xa0-0xa7.7 (8)
|
||||||
|
0x00a0| a0 | . | xl_info: 160 0xa8-0xa8.7 (1)
|
||||||
|
0x00a0| 00 | . | xl_rmid: 0 0xa9-0xa9.7 (1)
|
||||||
|
0x00a0| 00 00 | .. | hole1: 0 0xaa-0xab.7 (2)
|
||||||
|
0x00a0| 4b 4d 12 a0| KM..| xl_crc: 2685553995 0xac-0xaf.7 (4)
|
||||||
|
0x2010| 00 00 00 00 00 00 00 00| ........| xlog_body1: raw bits 0x2018-0x20e7.7 (208)
|
||||||
|
0x2020|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00|................|
|
||||||
|
* |until 0x20e7.7 (208) | |
|
||||||
|
| | | [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|c9 00 00 00 |.... | xlp_rem_len: 201 0x2010-0x2013.7 (4)
|
||||||
|
0x2010| 00 00 00 00 | .... | padding0: 0 0x2014-0x2017.7 (4)
|
||||||
|
| | | records[0:1]: 0x20e8-0x3fff.7 (7960)
|
||||||
|
| | | [0]{}: xlog_record 0x20e8-0x3fff.7 (7960)
|
||||||
|
| | | lsn: "0/10020E8" (16785640) 0x20e8-NA (0)
|
||||||
|
0x20e0| 31 20 00 00 | 1 .. | xl_tot_len: 8241 0x20e8-0x20eb.7 (4)
|
||||||
|
0x20e0| 01 00 00 00| ....| xlog_body0: raw bits 0x20ec-0x3fff.7 (7956)
|
||||||
|
0x20f0|98 00 00 01 00 00 00 00 a0 00 00 00 04 05 69 ab|..............i.|
|
||||||
|
* |until 0x3fff.7 (end) (7956) | |
|
||||||
|
0x20e0| 01 00 00 00| ....| xl_xid: 1 0x20ec-0x20ef.7 (4)
|
||||||
|
0x20f0|98 00 00 01 00 00 00 00 |........ | xl_prev: "0/1000098" (16777368) 0x20f0-0x20f7.7 (8)
|
||||||
|
0x20f0| a0 | . | xl_info: 160 0x20f8-0x20f8.7 (1)
|
||||||
|
0x20f0| 00 | . | xl_rmid: 0 0x20f9-0x20f9.7 (1)
|
||||||
|
0x20f0| 00 00 | .. | hole1: 0 0x20fa-0x20fb.7 (2)
|
||||||
|
0x20f0| 04 05 69 ab| ..i.| xl_crc: 2875786500 0x20fc-0x20ff.7 (4)
|
BIN
format/postgres/testdata/flavours/pgpro14/00000001000000000000000A
vendored
Normal file
BIN
format/postgres/testdata/flavours/pgpro14/00000001000000000000000A
vendored
Normal file
Binary file not shown.
116
format/postgres/testdata/flavours/pgpro14/00000001000000000000000A_1.fqtest
vendored
Normal file
116
format/postgres/testdata/flavours/pgpro14/00000001000000000000000A_1.fqtest
vendored
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
$ fq -d pg_wal ".[0].records[0:10] | dv" 00000001000000000000000A
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000048",
|
||||||
|
"xl_crc": 162371186,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/9FFFFD8",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23351,
|
||||||
|
"xlog_body0": "<68>N1sAANj//wkAAAAAQAoAAHKWrQkAIAwAfwYAALc1AAAPQAAAAAAAAP8OCAAEgJEgGAc8df//N1sAALMAACA3WwAAvAA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000090",
|
||||||
|
"xl_crc": 702343481,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A000048",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23355,
|
||||||
|
"xlog_body0": "<68>O1sAAEgAAAoAAAAAQAoAADnp3CkAIAwAfwYAALc1AAAPQAAAAAAAAP8OCAAEgAEoGAc6CAEAO1sAAGYAACAAAAAAvgA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A0000D8",
|
||||||
|
"xl_crc": 642258824,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A000090",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23358,
|
||||||
|
"xlog_body0": "<68>PlsAAJAAAAoAAAAAQAoAAIgXSCYAIAwAfwYAALc1AAAPQAAAAQAAAP8OCAAEgAEoGAensP//PlsAAGAAACAAAAAAcAA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000120",
|
||||||
|
"xl_crc": 352113203,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A0000D8",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23359,
|
||||||
|
"xlog_body0": "<68>P1sAANgAAAoAAAAAQAoAADPS/BQAIAwAfwYAALc1AAAPQAAAAAAAAP8OCAAEgAEoGAfz7v//P1sAAHgAACAAAAAAvwA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000168",
|
||||||
|
"xl_crc": 1932211605,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A000120",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23357,
|
||||||
|
"xlog_body0": "<68>PVsAACABAAoAAAAAQAoAAJU1K3MAIAwAfwYAALc1AAANQAAABQAAAP8OBAADgAEoGANBkgAAPVsAAC4AACAAAAAAMAA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A0001B0",
|
||||||
|
"xl_crc": 1172777075,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A000168",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23355,
|
||||||
|
"xlog_body0": "<68>O1sAAGgBAAoAAAAAQAoAAHMo50UAIAwAfwYAALc1AAANQAAAAgAAAP8OBAADgAEoGANqYwUAO1sAAJAAACAAAAAAkgA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A0001F8",
|
||||||
|
"xl_crc": 3467337604,
|
||||||
|
"xl_info": 64,
|
||||||
|
"xl_prev": "0/A0001B0",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 72,
|
||||||
|
"xl_xid": 23359,
|
||||||
|
"xlog_body0": "<68>P1sAALABAAoAAAAAQAoAAIRfq84AIAwAfwYAALc1AAANQAAABQAAAP8OBAADgAEoGANlw/7/P1sAACsAACAAAAAAMQA="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"align0": "<1>AA==",
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000240",
|
||||||
|
"xl_crc": 2150511209,
|
||||||
|
"xl_info": 0,
|
||||||
|
"xl_prev": "0/A0001F8",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 79,
|
||||||
|
"xl_xid": 23357,
|
||||||
|
"xlog_body0": "<75>PVsAAPgBAAoAAAAAAAoAAGkyLoAAIB4AfwYAALc1AAAWQAAAjQAAAP8DBgABCBgfKAAAAAoAAACEzwYAkPz///HDxkBNjwIASwAA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"align0": "<1>AA==",
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A000290",
|
||||||
|
"xl_crc": 1895222202,
|
||||||
|
"xl_info": 0,
|
||||||
|
"xl_prev": "0/A000240",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 79,
|
||||||
|
"xl_xid": 23355,
|
||||||
|
"xlog_body0": "<75>O1sAAEACAAoAAAAAAAoAALrL9nAAIB4AfwYAALc1AAAWQAAAjgAAAP8DBgABCBgfDQAAAAEAAABQHQMA9e3//wTExkBNjwIAQgAA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"align0": "<1>AA==",
|
||||||
|
"hole1": 0,
|
||||||
|
"lsn": "0/A0002E0",
|
||||||
|
"xl_crc": 2165445570,
|
||||||
|
"xl_info": 0,
|
||||||
|
"xl_prev": "0/A000290",
|
||||||
|
"xl_rmid": 10,
|
||||||
|
"xl_tot_len": 79,
|
||||||
|
"xl_xid": 23359,
|
||||||
|
"xlog_body0": "<75>P1sAAJACAAoAAAAAAAoAAMITEoEAIB4AfwYAALc1AAAWQAAAkQAAAP8DBgABCBgfSgAAAAgAAACnUwQAvPL//xbExkBNjwIAOQAA"
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user