Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-04-15 | pg_filedump 17.2HEADREL_17_2master | Christoph Berg | |
* Mask output more wide in tests (@df7cb) * Fix length computation in numeric type (@ GetsuDer) * Support PG18 (@df7cb) * Show GIN block details (@manaldush) * Read toast chunks in ascending order (@df7cb) | |||
2025-04-15 | Read toast chunks in ascending order, looping if required | Christoph Berg | |
Toast chunks might be stored out-of-order in the table. We previously ignored that and hoped for the best, but our toast.sql test actually exhibits the problem on pre-14 servers where the 5th chunk of the last test is small enough to fit into the first disk block. Fix by looping over the table until all chunks have been read. A smarter solution would require either toast index lookups or caching the chunks. Close #20. Author: Christoph Berg <myon@debian.org> Debugging-By: Svetlana Derevyanko <s.derevyanko@postgrespro.ru> | |||
2025-04-15 | Print toast message only for matching toast chunks | Christoph Berg | |
When dumping toasted values in verbose mode, show "Read TOAST chunk" message only for toast chunks that matched the Oid we are looking for. | |||
2025-04-15 | Show GIN block details | Maksim Melnikov | |
Close #35. | |||
2025-04-15 | Fix a typo in comment | Christoph Berg | |
2025-04-15 | Declare fp static | Christoph Berg | |
It's only used in pg_filedump.c. | |||
2025-04-15 | Use PRIu64 to format integers | Christoph Berg | |
PG18 gets rid of INT64_MODIFIER, move to standard C version. | |||
2025-04-15 | Fixed bug with number of digits for numeric being calculated wrong, which ↵ | Svetlana Derevyanko | |
led to outputting junk data. Close #32. | |||
2025-04-15 | Mask all digits of value and toast relation ids | Christoph Berg | |
This was not noticed before because I was always running the tests in a fresh instance. Close #33. Author: Svetlana Derevyanko <s.derevyanko@postgrespro.ru> | |||
2025-04-15 | Mask full LSN and checksum in tests | Christoph Berg | |
The old LSN masking didn't consider LSNs with a log id with two or more digits. Checksums were hard-coded to 0000 so far, but the server might actually write them. To not clutter the test files with ever-longer sed commands, move the command to a new sed.sh file. Test files updated to follow this change, but there are pre-existing problems on older PG majors and 32-bit that are still open. Close #37. Reported-By: Maksim Melnikov <m.melnikov@postgrespro.ru> | |||
2024-11-07 | Bump version to 17.1REL_17_1 | Christoph Berg | |
While at it, bump copyright year as well. | |||
2024-11-07 | Makefile: Drop outdated "dist" target | Christoph Berg | |
2024-10-04 | Disable fast failing of GitHub actions | Christoph Berg | |
2024-10-04 | Set timezone to UTC | Christoph Berg | |
Make us independent from changes to pg_regress' hard-coded Pacific time zone. | |||
2024-10-04 | Add 17 and 18 to versions to test | Christoph Berg | |
2024-07-19 | Add/fix expected toast output files for PG13- and 32-bit | Christoph Berg | |
2024-07-18 | pg_filedump 17.0REL_17_0 | Christoph Berg | |
2024-06-07 | Explicitly link against libpgcommon and libpgport | Christoph Berg | |
libpq_pgport used to pull these in, but does no longer in PG17. | |||
2024-06-07 | Move "number of chunks" to TOAST message | Christoph Berg | |
No reason to waste two separate lines on this. | |||
2024-06-07 | Remove stray newline printed after toast message | Christoph Berg | |
This would print an ever increasing number of newlines between toast messages. | |||
2024-06-06 | Add regression test for toast | Christoph Berg | |
2024-06-06 | Print type of toast when not decoding it | Christoph Berg | |
2024-06-06 | Allow finding the toast table in current directory | Christoph Berg | |
get_parent_directory() returns "" when there is no directory part; replace that by ".". | |||
2024-06-06 | Add .editorconfig | Christoph Berg | |
File copied verbatim from PostgreSQL. | |||
2024-06-06 | Replace static buffers with malloc | Christoph Berg | |
Since we learned to decode TOASTed values these buffers were too small. | |||
2024-06-04 | Drop test specific to btree-deduplication on PG12 | Christoph Berg | |
Vanilla PG got that feature in PG13 and it's on by default, so the normal test covers it as well. | |||
2024-06-04 | Run build and test as postgres user | Christoph Berg | |
GH actions run as root by default which initdb doesn't like. | |||
2024-06-04 | Find pg_filedump at test time in PATH | Christoph Berg | |
Close #21. | |||
2024-06-04 | Improve Makefile: set PG_CONFIG only if it is not already set | Karina Litskevich | |
2024-06-04 | Fixes for running tap tests: library for perl tests and option for running ↵ | Svetlana Derevyanko | |
as non-priviliged user. | |||
2024-06-04 | Added TAP tests and parsing specific contents of GIN data pages. | Alexey Namakonov | |
Close #28. | |||
2024-06-04 | Fixed unaligned use of struct NumericData, which could cause problems on ↵ | Svetlana Derevyanko | |
some systems. Close #29. | |||
2023-09-14 | Add a README.md symlinkREL_16_0 | Christoph Berg | |
GitHub doesn't show README.pg_filedump.md by itself. | |||
2023-09-14 | Bump version to 16.0 | Christoph Berg | |
While at it, bump copyright years as well. | |||
2023-09-14 | Drop Makefile.contrib before it gets outdated even more | Christoph Berg | |
2023-09-14 | Convert README file to Markdown format | Christoph Berg | |
2023-09-14 | Decode oid/xid >= 2^31 correctly | Christoph Berg | |
Spotted by alexandervpotapov. Close #18. | |||
2023-09-14 | Fix expected float output file on 64-bit PG12+ | Christoph Berg | |
2023-09-14 | Support testing against servers compiled without --with-libxml support | Christoph Berg | |
See #9. | |||
2023-09-14 | Support testing float with PG 11 and earlier | Christoph Berg | |
See #9. | |||
2023-09-14 | Support testing numeric with PG 13 and 14 | Christoph Berg | |
Close #9. | |||
2023-09-14 | Add PG 16 to GitHub action | Christoph Berg | |
2023-09-14 | Add support for PostgreSQL v16 | Karina Litskevich | |
2023-09-14 | Add missing flags | Karina Litskevich | |
2023-09-14 | Fix comparison of hasho_flag field and LH_UNUSED_PAGE | Karina Litskevich | |
2023-08-28 | Bugfix: make sure fclose is called with a legal argument | Karina Litskevich | |
fclose(NULL) is an UB | |||
2023-08-28 | Bugfix: free dynamically allocated memory | Karina Litskevich | |
2022-03-30 | Bump copyright yearREL_14_1 | Christoph Berg | |
2022-03-30 | Add a non-trivial timetz offset test case | Christoph Berg | |
2022-03-30 | Decode timestamptz | Christoph Berg | |
We unconditionally use +00 on output. |