summaryrefslogtreecommitdiff
path: root/src/include/nodes/subscripting.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-12-03 08:52:28 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-12-03 08:52:28 +0100
commit8c6bbd674ed810df9af5ec42f6b38c205e3ad365 (patch)
tree2ef7f5fd4135168a70c7ba71815723cf3d3abc7e /src/include/nodes/subscripting.h
parent623801b3bdb4e16df39f945b6aa5f109744c7b6b (diff)
Use more appropriate DatumGet* function
Use DatumGetCString() instead of DatumGetPointer() for returning a C string. Right now, they are the same, but that doesn't always have to be so. Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://www.postgresql.org/message-id/4154950a-47ae-4223-bd01-1235cc50e933%40eisentraut.org
Diffstat (limited to 'src/include/nodes/subscripting.h')
0 files changed, 0 insertions, 0 deletions