You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Paquier
31d3847a37
Use more palloc_object() and palloc_array() in contrib/
...
The idea is to encourage more the use of these new routines across the
tree, as these offer stronger type safety guarantees than palloc(). In
an ideal world, palloc() would then act as an internal routine of these
flavors, whose footprint in the tree is minimal.
The patch sent by the author is very large, and this chunk of changes
represents something like 10% of the overall patch submitted.
The code compiled is the same before and after this commit, using
objdump to do some validation with a difference taken in-between. There
are some diffs, which are caused by changes in line numbers because some
of the new allocation formulas are shorter, for the following files:
trgm_regexp.c, xpath.c and pg_walinspect.c.
Author: David Geier <geidav.pg@gmail.com>
Discussion: https://postgr.es/m/ad0748d4-3080-436e-b0bc-ac8f86a3466a@gmail.com
2 weeks ago
..
data
…
expected
Rename gist stratnum support function
7 months ago
sql
Rename gist stratnum support function
7 months ago
.gitignore
…
Makefile
btree_gist: Merge the last two versions into version 1.8
5 months ago
btree_bit.c
Do a tiny bit of header file maintenance
3 months ago
btree_bool.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_bytea.c
Add support for sorted gist index builds to btree_gist
9 months ago
btree_cash.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_date.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_enum.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_float4.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_float8.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_gist--1.0--1.1.sql
…
btree_gist--1.1--1.2.sql
…
btree_gist--1.2--1.3.sql
…
btree_gist--1.2.sql
…
btree_gist--1.3--1.4.sql
…
btree_gist--1.4--1.5.sql
…
btree_gist--1.5--1.6.sql
…
btree_gist--1.6--1.7.sql
…
btree_gist--1.7--1.8.sql
btree_gist: Merge the last two versions into version 1.8
5 months ago
btree_gist.c
Rename gist stratnum support function
7 months ago
btree_gist.control
btree_gist: Merge the last two versions into version 1.8
5 months ago
btree_gist.h
Add trailing commas to enum definitions
2 years ago
btree_inet.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_int2.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_int4.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_int8.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_interval.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_macaddr.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_macaddr8.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_numeric.c
Add missing Datum conversions
4 months ago
btree_oid.c
Avoid including tableam.h and xlogreader.h in nbtree.h
4 months ago
btree_text.c
Add support for sorted gist index builds to btree_gist
9 months ago
btree_time.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_ts.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_utils_num.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_utils_num.h
Remove unused #include's from contrib, pl, test .c files
1 year ago
btree_utils_var.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
btree_utils_var.h
Remove no longer needed casts to Pointer
2 weeks ago
btree_uuid.c
Use more palloc_object() and palloc_array() in contrib/
2 weeks ago
meson.build
btree_gist: Merge the last two versions into version 1.8
5 months ago