Обсуждение: [pgjdbc/pgjdbc] bd0497: Make replication docs use PREFER_QUERY_MODE(#761)

Поиск
Список
Период
Сортировка

[pgjdbc/pgjdbc] bd0497: Make replication docs use PREFER_QUERY_MODE(#761)

От
Jacques Fuentes
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: bd0497dee741e92de1cc3eeabb58a82608ed6070
      https://github.com/pgjdbc/pgjdbc/commit/bd0497dee741e92de1cc3eeabb58a82608ed6070
  Author: Jacques Fuentes <jpfuentes2@gmail.com>
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
    M docs/documentation/head/replication.md

  Log Message:
  -----------
  Make replication docs use PREFER_QUERY_MODE (#761)

The follow prop must be set:

```
PGProperty.PREFER_QUERY_MODE.set(props, "simple");
```

on a replication connection to create replication slots. The
docs demonstrate this in the full example near the bottom of
the page but not at the top where it shows creating a slot
thru pgjdbc.

fixes #759