Response Filters

Response filters are filters that are invoked whenever a response is received from the database server. Response filters can examine the response and do whatever they want to it before it gets sent over to the database client.

Response filters need to be more careful about performance than request filter, because a single request packet can result in millions of response packets

Context

All response filters define the following variables, which can be accessed from your JavaScript code:

Response filters for Postgres