doc: Add note about the server name of postgres_fdw_get_connections() returns.
authorFujii Masao <fujii@postgresql.org>
Mon, 18 Jan 2021 15:56:10 +0000 (00:56 +0900)
committerFujii Masao <fujii@postgresql.org>
Tue, 19 Jan 2021 06:04:58 +0000 (15:04 +0900)
commitee79a548e746da9a99df0cac70a3ddc095f2829a
treed83c68223c67b00444c38ad4a4f47549c305062d
parented43677e20369040ca4e50c698010c39d5ac0f47
doc: Add note about the server name of postgres_fdw_get_connections() returns.

Previously the document didn't mention the case where
postgres_fdw_get_connections() returns NULL in server_name column.
Users might be confused about why NULL was returned.

This commit adds the note that, in postgres_fdw_get_connections(),
the server name of an invalid connection will be NULL if the server is dropped.

Suggested-by: Zhijie Hou
Author: Bharath Rupireddy
Reviewed-by: Zhijie Hou, Fujii Masao
Discussion: https://postgr.es/m/e7ddd14e96444fce88e47a709c196537@G08CNEXMBPEKD05.g08.fujitsu.local
doc/src/sgml/postgres-fdw.sgml