| 1 |
#------------------------------------------------------------------------- |
| 2 |
# sed script to postprocess dtrace output |
| 3 |
# |
| 4 |
# Copyright (c) 2008-2025, PostgreSQL Global Development Group |
| 5 |
# |
| 6 |
# src/backend/utils/postprocess_dtrace.sed |
| 7 |
#------------------------------------------------------------------------- |
| 8 |
|
| 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 *". |
| 12 |
|
| 13 |
s/POSTGRESQL_/TRACE_POSTGRESQL_/g |
| 14 |
s/( *char \*/(const char */g |
| 15 |
s/, *char \*/, const char */g |