Commit Graph

36 Commits (5fd424c87a86dd19d6cb15a18d1662ffc7368de1)

Author SHA1 Message Date
Michael Paquier 68f7c4b57a Clean up more code using "(expr) ? true : false" 4 years ago
Tom Lane 044c99bc56 Use query collation, not column's collation, while examining statistics. 5 years ago
Tom Lane a80818605e Improve selectivity estimation for assorted match-style operators. 6 years ago
Tom Lane 95f7ddfdad Protect against overflow of ltree.numlevel and lquery.numlevel. 6 years ago
Amit Kapila 7e735035f2 Make the order of the header file includes consistent in contrib modules. 6 years ago
Tom Lane c87cb5f7a6 Allow btree comparison functions to return INT_MIN. 7 years ago
Tom Lane 28a1ae5342 Fix crash in contrib/ltree's lca() function for empty input array. 7 years ago
Tom Lane 4bd1994650 Make DatumGetFoo/PG_GETARG_FOO/PG_RETURN_FOO macro names more consistent. 8 years ago
Andres Freund 7a1d4a2448 ltree: Zero padding bytes when allocating memory for externally visible data. 10 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Peter Eisentraut e7128e8dbb Create function prototype as part of PG_FUNCTION_INFO_V1 macro 12 years ago
Alvaro Herrera c219d9b0a5 Split tuple struct defs from htup.h to htup_details.h 13 years ago
Peter Eisentraut b8b2e3b2de Replace int2/int4 in C code with int16/int32 13 years ago
Bruce Momjian 6416a82a62 Remove unnecessary #include references, per pgrminclude script. 14 years ago
Robert Haas 32ba2b5160 Use memcmp() rather than strncmp() when shorter string length is known. 15 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 17 years ago
Alvaro Herrera f8c4d7db60 Restructure some header files a bit, in particular heapam.h, by removing some 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane f4230d2937 Change patternsel() so that instead of switching from a pure 18 years ago
Tom Lane 9f652d430f Fix up several contrib modules that were using varlena datatypes in not-so-obvious 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane bfd1ffa948 Change patternsel (LIKE/regex selectivity estimation) so that if there 19 years ago
Tom Lane a0ffab351e Magic blocks don't do us any good unless we use 'em ... so install one 20 years ago
Tom Lane 4ade4fe422 Fix ltreeparentsel so it actually works ... 20 years ago
Bruce Momjian 59d61409cd Move ltree parentsel() selectivity function into /contrib/ltree. 20 years ago
Bruce Momjian f3d99d160d Add CVS tag lines to files that were lacking them. 20 years ago
Tom Lane 380bd04c16 Standardize on using the Min, Max, and Abs macros that are in our c.h file, 21 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane 8fd5b3ed67 Error message editing in contrib (mostly by Joe Conway --- thanks Joe!) 22 years ago
Teodor Sigaev 2c914937c1 Fix subpath and subltree. Allow to return '' value. 22 years ago
Bruce Momjian baf6c8d21d Please, apply patch for contrib/ltree to current CVS and 7.3.2 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Bruce Momjian 978c8c6d2f please find attached patch to current CVS ( contrib/ltree ) 23 years ago
Bruce Momjian 1dedbf2da5 Add ltree data type to contrib, from Teodor Sigaev and Oleg Bartunov. 23 years ago