aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pg_locale.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-08-23 12:11:36 +0900
committerMichael Paquier <michael@paquier.xyz>2024-08-23 12:11:36 +0900
commit94a3373ac5c3d2444b2379a3c185b986627c42d4 (patch)
treefc0e7b187001012b1ba01a1550f6c422dcd889a3 /src/backend/utils/adt/pg_locale.c
parent2e35c67f956891b2dd7c30fbac9a14e76377300a (diff)
downloadpostgresql-94a3373ac5c3d2444b2379a3c185b986627c42d4.tar.gz
postgresql-94a3373ac5c3d2444b2379a3c185b986627c42d4.zip
Rework new SLRU test with injection points
Rather than the SQL injection_points_load(), this commit changes the injection point test introduced in 768a9fd5535f to rely on the two macros INJECTION_POINT_LOAD() and INJECTION_POINT_CACHED(), that have been originally introduced for the sake of this test. This runs the test as a two-step process: load the injection point, then run its callback directly from the local cache loaded. What the test did originally was also fine, but the point here is to have an example in core of how to use these new macros. While on it, fix the header ordering in multixact.c, as pointed out by Alexander Korotkov. This was an oversight in 768a9fd5535f. Per discussion with Álvaro Herrera. Author: Michael Paquier Discussion: https://postgr.es/m/ZsUnJUlSOBNAzwW1@paquier.xyz Discussion: https://postgr.es/m/CAPpHfduzaBz7KMhwuVOZMTpG=JniPG4aUosXPZCxZydmzq_oEQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pg_locale.c')
0 files changed, 0 insertions, 0 deletions