add argument type to postgres_fdw docs

Started by Shinya11.Kato@nttdata.comover 5 years ago4 messagesdocs
Jump to latest
#1Shinya11.Kato@nttdata.com
Shinya11.Kato@nttdata.com

Hi,

I add argument type to postgres-fdw parameters in postgres-fdw.sgml.
I think this change is kind. Do you think?

Regards,
Shinya Kato

Attachments:

add_argument_type_to_postgres-fdw_docs.patchapplication/octet-stream; name=add_argument_type_to_postgres-fdw_docs.patchDownload+16-16
#2Fujii Masao
masao.fujii@oss.nttdata.com
In reply to: Shinya11.Kato@nttdata.com (#1)
Re: add argument type to postgres_fdw docs

On 2021/06/16 12:39, Shinya11.Kato@nttdata.com wrote:

Hi,

I add argument type to postgres-fdw parameters in postgres-fdw.sgml.
I think this change is kind. Do you think?

I think this change would improve the postgres_fdw docs.

-     <term><literal>extensions</literal></term>
+     <term><literal>extensions</literal> (<type>enum</type>)</term>

Since each value in "extensions" parameter is not limitted like
shared_preload_libraries, its type should be "string"?

-     <term><literal>fdw_startup_cost</literal></term>
+     <term><literal>fdw_startup_cost</literal> (<type>double precision</type>)</term>
-     <term><literal>fdw_tuple_cost</literal></term>
+     <term><literal>fdw_tuple_cost</literal> (<type>double precision</type>)</term>

Since "floating point" is used for GUC docs, "floating point" should be
used for the sake of consistenty, instead?

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

#3Shinya11.Kato@nttdata.com
Shinya11.Kato@nttdata.com
In reply to: Fujii Masao (#2)
RE: add argument type to postgres_fdw docs
-     <term><literal>extensions</literal></term>
+     <term><literal>extensions</literal> (<type>enum</type>)</term>

Since each value in "extensions" parameter is not limitted like
shared_preload_libraries, its type should be "string"?

Yes, I fixed it.

-     <term><literal>fdw_startup_cost</literal></term>
+     <term><literal>fdw_startup_cost</literal> (<type>double
+ precision</type>)</term>
-     <term><literal>fdw_tuple_cost</literal></term>
+     <term><literal>fdw_tuple_cost</literal> (<type>double
+ precision</type>)</term>

Since "floating point" is used for GUC docs, "floating point" should be used for
the sake of consistenty, instead?

Sure, I changed "double precision" to "floating point".

Best regards,
Shinya Kato

Attachments:

add_argument_type_to_postgres-fdw_docs_v2.patchapplication/octet-stream; name=add_argument_type_to_postgres-fdw_docs_v2.patchDownload+16-16
#4Fujii Masao
masao.fujii@oss.nttdata.com
In reply to: Shinya11.Kato@nttdata.com (#3)
Re: add argument type to postgres_fdw docs

On 2021/06/16 14:13, Shinya11.Kato@nttdata.com wrote:

-     <term><literal>extensions</literal></term>
+     <term><literal>extensions</literal> (<type>enum</type>)</term>

Since each value in "extensions" parameter is not limitted like
shared_preload_libraries, its type should be "string"?

Yes, I fixed it.

Thanks for updating the patch! Pushed.

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION