Commit Graph

48 Commits (d746021de18baf0f29eff0388204a0664f41eb8b)

Author SHA1 Message Date
Peter Eisentraut d746021de1 Add construct_array_builtin, deconstruct_array_builtin 3 years ago
Michael Paquier cd4868a570 pageinspect: Fix handling of all-zero pages 3 years ago
Michael Paquier d16773cdc8 Add macros in hash and btree AMs to get the special area of their pages 3 years ago
Michael Paquier 291e517a4d pageinspect: Add more sanity checks to prevent out-of-bound reads 3 years ago
Michael Paquier 076f4d9539 pageinspect: Fix handling of page sizes and AM types 3 years ago
Peter Geoghegan d7897abf9e pageinspect: Make page deletion elog less chatty. 4 years ago
Peter Geoghegan e5d8a99903 Use full 64-bit XIDs in deleted nbtree pages. 4 years ago
Peter Eisentraut f18aa1b203 pageinspect: Change block number arguments to bigint 5 years ago
Peter Eisentraut 96cfcadd26 Remove unused parameter 5 years ago
Tom Lane 41b45576d5 Remove useless pfree()s at the ends of various ValuePerCall SRFs. 5 years ago
Peter Geoghegan 691e8b2e18 pageinspect: Fix types used for bt_metap() columns. 5 years ago
Tom Lane 3ed2005ff5 Introduce macros for typalign and typstorage constants. 5 years ago
Peter Geoghegan 93ee38eade Teach pageinspect about nbtree deduplication. 5 years ago
Alvaro Herrera 4e89c79a52 Remove excess parens in ereport() calls 5 years ago
Amit Kapila 7e735035f2 Make the order of the header file includes consistent in contrib modules. 6 years ago
Peter Geoghegan dd299df818 Make heap TID a tiebreaker nbtree index column. 6 years ago
Andres Freund 111944c5ee Replace heapam.h includes with {table, relation}.h where applicable. 7 years ago
Andres Freund 4c850ecec6 Don't include heapam.h from others headers. 7 years ago
Michael Paquier 59eb12c9c5 Make error message of pageinspect more consistent for raw page inputs 7 years ago
Tom Lane c6e846446d printf("%lf") is not portable, so omit the "l". 7 years ago
Teodor Sigaev 0a64b45152 Fix handling of non-upgraded B-tree metapages 7 years ago
Teodor Sigaev 857f9c36cd Skip full index scan during cleanup of B-tree indexes when possible 7 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Peter Eisentraut 193f5f9e91 pageinspect: Add bt_page_items function with bytea argument 8 years ago
Alvaro Herrera ce96ce60ca Remove direct uses of ItemPointer.{ip_blkid,ip_posid} 8 years ago
Noah Misch 3a0d473192 Use wrappers of PG_DETOAST_DATUM_PACKED() more. 8 years ago
Tom Lane 14e9b18fed In pageinspect/hashfuncs.c, avoid crashes on alignment-picky machines. 9 years ago
Peter Eisentraut f21a563d25 Move some things from builtins.h to new header files 9 years ago
Heikki Linnakangas d22b85fbd4 Remove unused macros. 9 years ago
Kevin Grittner a343e223a5 Revert no-op changes to BufferGetPage() 9 years ago
Kevin Grittner 8b65cf4c5e Modify BufferGetPage() to prepare for "snapshot too old" feature 9 years ago
Tom Lane 65c5fcd353 Restructure index access method API to hide most of it at the C level. 10 years ago
Peter Eisentraut e7128e8dbb Create function prototype as part of PG_FUNCTION_INFO_V1 macro 11 years ago
Peter Eisentraut edc43458d7 Add more use of psprintf() 12 years ago
Tom Lane d54a94b806 Take buffer lock while inspecting btree index pages in contrib/pageinspect. 13 years ago
Bruce Momjian 6416a82a62 Remove unnecessary #include references, per pgrminclude script. 14 years ago
Alvaro Herrera b93f5a5673 Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h 14 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 16 years ago
Tom Lane c029a6a49e Fix contrib/pgstattuple and contrib/pageinspect to prevent attempts to read 16 years ago
Andrew Dunstan 53972b460c Add $PostgreSQL$ markers to a lot of files that were missing them. 17 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 17 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 6889303531 Redefine the lp_flags field of item pointers as having four states, rather 18 years ago
Tom Lane 08fc73c4c3 Code review for btreefuncs additions: restrict to superusers to avoid 18 years ago
Tom Lane 93624bcda0 Fix CHECK_RELATION_BLOCK_RANGE macro, which was not merely producing 18 years ago
Tom Lane cfd6c89b04 Silence a rather odd compiler warning. In passing, make this file's 18 years ago
Bruce Momjian 64058429c5 Add database page inspection /contrib module. 18 years ago
Alvaro Herrera c9d3b8f5d2 Fix uninitialized value in pgstatindex leading to invalid values being 19 years ago
Tom Lane c9a6490991 Clean up some leftover problems in pgstattuple: remove unwanted and 19 years ago