blob: 892fe2b2fb718d0793698b710f457f4b75cec205 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|