diff options
Diffstat (limited to '')
-rw-r--r-- | src/backend/utils/postprocess_dtrace.sed | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/backend/utils/postprocess_dtrace.sed b/src/backend/utils/postprocess_dtrace.sed new file mode 100644 index 0000000..892fe2b --- /dev/null +++ b/src/backend/utils/postprocess_dtrace.sed @@ -0,0 +1,15 @@ +#------------------------------------------------------------------------- +# sed script to postprocess dtrace output +# +# Copyright (c) 2008-2023, 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 |