github.com/lulzWill/go-agent@v2.1.2+incompatible/internal/crossagent/cross_agent_tests/postgres_explain_obfuscation/README.md (about)

     1  # PostgreSQL explain plan obfuscation tests
     2  
     3  These tests show how explain plans for PostgreSQL should be obfuscated when
     4  SQL obfuscation is enabled. Obfuscation of explain plans for PostgreSQL is
     5  necessary because they can include portions of the original query that may
     6  contain sensitive data.
     7  
     8  Each test case consists of a set of files with the following extensions:
     9  
    10  * `.query.txt` - the original SQL query that is being explained
    11  * `.explain.txt` - the raw un-obfuscated output from running `EXPLAIN <query>`
    12  * `.colon_obfuscated.txt` - the desired obfuscated explain output if using the
    13  default, more aggressive obfuscation strategy described [here](https://newrelic.atlassian.net/wiki/display/eng/Obfuscating+PostgreSQL+Explain+plans).
    14  * `.obfuscated.txt` - the desired obfuscated explain output if using a more
    15  accurate, less aggressive obfuscation strategy detailed in this
    16  [Jive thread](https://newrelic.jiveon.com/thread/1851).