postgresql/src/include/lib
Daniel Gustafsson b783186515 Add destroyStringInfo function for cleaning up StringInfos
destroyStringInfo() is a counterpart to makeStringInfo(), freeing a
palloc'd StringInfo and its data. This is a convenience function to
align the StringInfo API with the PQExpBuffer API. Originally added
in the OAuth patchset, it was extracted and committed separately in
order to aid upcoming JSON work.

Author: Daniel Gustafsson <daniel@yesql.se>
Author: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAOYmi+mWdTd6ujtyF7MsvXvk7ToLRVG_tYAcaGbQLvf=N4KrQw@mail.gmail.com
2024-03-16 23:18:28 +01:00
..
binaryheap.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
bipartite_match.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
bloomfilter.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
dshash.h Fix comments for the dshash_parameters struct. 2024-02-27 09:44:59 -06:00
hyperloglog.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
ilist.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
integerset.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
knapsack.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pairingheap.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
qunique.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
radixtree.h Fix incorrect format specifier for int64 2024-03-07 14:26:52 +07:00
rbtree.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
simplehash.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sort_template.h Introduce overflow-safe integer comparison functions. 2024-02-16 13:37:02 -06:00
stringinfo.h Add destroyStringInfo function for cleaning up StringInfos 2024-03-16 23:18:28 +01:00