PostgreSQLドキュメントバグ報告_9.3. 算術関数と演算子

2017-11-22 Thread 葛西 裕昭(システム開発部-開発9チーム CLINKS)
突然失礼いたします。
最新の PostgreSQL 9.6.5文書 について、
ドキュメントのバグと思う箇所がありましたので、報告いたします。

9.3. 算術関数と演算子
表9.5 算術関数
3行目 ceil(dp or numeric)

上記行の「戻り値型」が抜けており、「説明」以右がずれております。

対象のURLは下記の通りです。
https://www.postgresql.jp/document/9.6/html/functions-math.html#functions-math-func-table

以上、ご確認のほどよろしくお願い致します。
/*
 * CLINKS株式会社
 * システム開発部
 * 開発9チーム
 *
 *  葛西 裕昭 【Kasai Hiroaki】
 *
 * 〒103-0013
 * 東京都中央区日本橋人形町1-11-2 川商ビル2F
 * Tel :03-5847-1167 FAX :03-5847-1168
 * Mail:h-ka...@clinks.jp
 * URL :http://www.clinks.jp
*/




libpq options

2017-11-22 Thread sahapasci
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/libpq-connect.html
Description:

Hi everyone, 

The documentation refers the libpq connection option "replication" 
here in
"Streaming Replication Protocol" page;

https://www.postgresql.org/docs/current/static/protocol-replication.html

However the option "replication" is not clarified (or even listed) in 
libpq
options page.

https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS

I searched the source and find that pg_conn struct has this 

struct pg_conn
{
...
  char *replication; /* connect as the replication standby? */
...
}

Adding something simple like above and referring back to one of replication
pages would be good I think. 

thanks 


Re: PostgreSQLドキュメントバグ報告_9.3. 算術関数と演算子

2017-11-22 Thread Michael Paquier
葛西さま

2017-11-22 17:46 GMT+09:00 "葛西 裕昭(システム開発部-開発9チーム CLINKS)" :
> 突然失礼いたします。
> 最新の PostgreSQL 9.6.5文書 について、
> ドキュメントのバグと思う箇所がありましたので、報告いたします。
>
> 9.3. 算術関数と演算子
> 表9.5 算術関数
> 3行目 ceil(dp or numeric)
>
> 上記行の「戻り値型」が抜けており、「説明」以右がずれております。
>
> 対象のURLは下記の通りです。
> https://www.postgresql.jp/document/9.6/html/functions-math.html#functions-math-func-table

本メーリングリストは英語のリストなので、日本語の場合はhttps://www.postgresql.jp/npo/mailinglistからご連絡ください。
よろしくお願い致します。

Or in English: I am redirecting Kasai-san to the Japanese mailing lists.
-- 
Michael


Re: libpq options

2017-11-22 Thread Michael Paquier
On Wed, Nov 22, 2017 at 10:27 PM,   wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/libpq-connect.html
> Description:
>
> The documentation refers the libpq connection option "replication" 
> here in
> "Streaming Replication Protocol" page;
>
> https://www.postgresql.org/docs/current/static/protocol-replication.html
>
> However the option "replication" is not clarified (or even listed) 
> in libpq
> options page.
>
> https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
>
> I searched the source and find that pg_conn struct has this
>
> struct pg_conn
> {
> ...
>   char *replication; /* connect as the replication standby? */
> ...
> }
>
> Adding something simple like above and referring back to one of replication
> pages would be good I think.

Yeah, it is mainly a developer option which is why I guess it is not
documented. Like you, I think it should be added as part of the
connection parameter, and mentioned it a couple of days back:
https://www.postgresql.org/message-id/CAB7nPqQAtKfG3H%2BuK11JNivtJtZYE9yVCrPuejRMjp8tUDe0nQ%40mail.gmail.com
-- 
Michael