pg_last_xlog_receive_location()
От | Tatsuo Ishii |
---|---|
Тема | pg_last_xlog_receive_location() |
Дата | |
Msg-id | 20110330.101337.452091430337865395.t-ishii@sraoss.co.jp обсуждение исходный текст |
Ответы |
Re: pg_last_xlog_receive_location()
|
Список | pgsql-hackers |
In my understanding pg_last_xlog_receive_location() returns NULL if applied to non standby server: Get last transaction log location received and synced to disk by streaming replication. While streaming replication is in progress this will increase monotonically. But when streaming replication is restarted this will back off to the replication starting position, typically the beginning of the WAL file containing the current replay location. If recovery has completed this will remain static at the value of the last WAL record received and synced to disk during recovery. If streaming replication is disabled, or if it has not yet started, the function returns NULL. However my primary server returns non NULL. Am I missing something? -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp
В списке pgsql-hackers по дате отправления: