File: Variables.md

package info (click to toggle)
tds-fdw 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 936 kB
  • sloc: ansic: 5,201; sql: 496; python: 326; makefile: 23; sh: 1
file content (24 lines) | stat: -rw-r--r-- 697 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# TDS Foreign data wrapper

* **Author:** Geoff Montee
* **Name:** tds_fdw
* **File:** tds_fdw/Variables.md

## Variables

### Available Variables

* *tds_fdw.show_before_row_memory_stats* - print memory context stats to the PostgreSQL log before each row is fetched.

* *tds_fdw.show_after_row_memory_stats* - print memory context stats to the PostgreSQL log after each row is fetched.

* *tds_fdw.show_finished_memory_stats* - print memory context stats to the PostgreSQL log when a query is finished.

### Setting Variables

To set a variable, use the [SET command](http://www.postgresql.org/docs/9.4/static/sql-set.html). i.e.:

```
postgres=# SET tds_fdw.show_finished_memory_stats=1;
SET
```