mirror of https://github.com/postgres/postgres
This is in preparation for building postgres with meson / ninja. Move the dtrace postprocessing sed commands into a separate file so that it can be shared by meson. Also split the rule into two for proper dependency declaration. Reviewed-by: Andres Freund <andres@anarazel.de> Author: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.compull/94/head
parent
adba4b7471
commit
eb6569fd0e
@ -0,0 +1,15 @@ |
|||||||
|
#------------------------------------------------------------------------- |
||||||
|
# sed script to postprocess dtrace output |
||||||
|
# |
||||||
|
# Copyright (c) 2008-2022, 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 |
Loading…
Reference in new issue