1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00
Files
postgres/src/backend/utils/postprocess_dtrace.sed
Bruce Momjian 29275b1d17 Update copyright for 2024
Reported-by: Michael Paquier

Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz

Backpatch-through: 12
2024-01-03 20:49:05 -05:00

16 lines
581 B
Sed

#-------------------------------------------------------------------------
# sed script to postprocess dtrace output
#
# Copyright (c) 2008-2024, PostgreSQL Global Development Group
#
# src/backend/utils/postprocess_dtrace.sed
#-------------------------------------------------------------------------
# We editorialize on dtrace's output to the extent of changing the macro
# names (from POSTGRESQL_foo to TRACE_POSTGRESQL_foo) and changing any
# "char *" arguments to "const char *".
s/POSTGRESQL_/TRACE_POSTGRESQL_/g
s/( *char \*/(const char */g
s/, *char \*/, const char */g