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