postgres/contrib/ltree
Tom Lane 665c3dbba4 Mop-up for Datum conversion cleanups.
Fix a couple more places where an explicit Datum conversion
is needed (not clear how we missed these in ff89e182d and
previous commits).

Replace the minority usage "(Datum) NULL" with "(Datum) 0".
The former depends on the assumption that Datum is the same
width as Pointer, the latter doesn't.  Anyway consistency
is a good thing.

This is, I believe, the last of the notational mop-up needed
before we can consider changing Datum to uint64 everywhere.
It's also important cleanup for more aggressive ideas such
as making Datum a struct.

Discussion: https://postgr.es/m/1749799.1752797397@sss.pgh.pa.us
Discussion: https://postgr.es/m/8246d7ff-f4b7-4363-913e-827dadfeb145@eisentraut.org
2025-08-08 18:44:57 -04:00
..
data
expected Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
sql Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
_ltree_gist.c Mop-up for Datum conversion cleanups. 2025-08-08 18:44:57 -04:00
_ltree_op.c Remove useless casts to (void *) 2024-11-28 08:27:20 +01:00
.gitignore
crc32.c Adjust MSVC build scripts to parse Makefiles for defines 2021-07-29 12:01:23 +12:00
crc32.h Add support for binary I/O of ltree, lquery, and ltxtquery types. 2020-04-01 17:31:29 -04:00
lquery_op.c Remove useless character-length checks in contrib/ltree. 2022-10-06 11:18:32 -04:00
ltree_gist.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
ltree_io.c Remove ts_locale.c's t_isdigit(), t_isspace(), t_isprint() 2024-12-17 12:52:29 +01:00
ltree_op.c Use PG_MODULE_MAGIC_EXT in our installable shared libraries. 2025-03-26 11:11:02 -04:00
ltree--1.1--1.2.sql Add support for binary I/O of ltree, lquery, and ltxtquery types. 2020-04-01 17:31:29 -04:00
ltree--1.1.sql Update extensions with GIN/GIST support for parallel query. 2016-06-14 13:34:37 -04:00
ltree--1.2--1.3.sql Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
ltree--1.0--1.1.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
ltree.control Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
ltree.h Allow hyphens in ltree labels 2023-01-06 16:05:46 -05:00
ltreetest.sql Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
ltxtquery_io.c Remove various unnecessary (char *) casts 2025-02-20 19:49:27 +01:00
ltxtquery_op.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
Makefile Add hash support functions and hash opclass for contrib/ltree. 2024-03-21 18:27:49 -04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00