aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-12-19 15:37:44 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-12-19 15:37:44 +0100
commit3e4bacb171001644583ac14e29ae1b09ce818c92 (patch)
tree372f7cf3b7e6cbd849da2a0ef17e566c6f2fbbcd /src/backend/access/gist
parent399d0f1e11b5438c6dc82e55a22a0f402855b2ac (diff)
downloadpostgresql-3e4bacb171001644583ac14e29ae1b09ce818c92.tar.gz
postgresql-3e4bacb171001644583ac14e29ae1b09ce818c92.zip
bootstrap: pure parser and reentrant scanner
Use the flex %option reentrant and the bison option %pure-parser to make the generated scanner and parser pure, reentrant, and thread-safe. Make the generated scanner use palloc() etc. instead of malloc() etc. For the bootstrap scanner and parser, reentrancy and memory management aren't that important, but we make this change here anyway so that all the scanners and parsers in the backend use a similar set of options and APIs. Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Andreas Karlsson <andreas@proxel.se> Discussion: https://www.postgresql.org/message-id/flat/eb6faeac-2a8a-4b69-9189-c33c520e5b7b@eisentraut.org
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions