From 019eb962fb869b55ac8db173c4424a5de6cfee61 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 5 Oct 2020 11:42:33 -0400 Subject: [PATCH] Doc: fix parameter names in the docs of a couple of functions. The descriptions of make_interval() and pg_options_to_table() were randomly different from the reality embedded in pg_proc. (These are not all the discrepancies I found in a quick search, but the others perhaps require more discussion, since there's at least a case to be made for changing pg_proc not the docs.) make_interval issue noted by Thomas Kellerer. Discussion: https://postgr.es/m/7b154ef0-9f22-90b9-7734-4bf23686695b@gmx.net --- doc/src/sgml/func.sgml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 20d4987e0f..09afb91a54 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -8920,13 +8920,13 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}'); make_interval - make_interval ( year int - , month int - , week int - , day int - , hour int - , min int - , sec double precision + make_interval ( years int + , months int + , weeks int + , days int + , hours int + , mins int + , secs double precision ) interval @@ -22387,7 +22387,7 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); pg_options_to_table - pg_options_to_table ( reloptions text[] ) + pg_options_to_table ( options_array text[] ) setof record ( option_name text, option_value text )