postgres/src
Michael Paquier ce1b0f9da0 Improve grammar of options for command arrays in TAP tests
This commit rewrites a good chunk of the command arrays in TAP tests
with a grammar based on the following rules:
- Fat commas are used between option names and their values, making it
clear to both humans and perltidy that values and names are bound
together.  This is particularly useful for the readability of multi-line
command arrays, and there are plenty of them in the TAP tests.  Most of
the test code is updated to use this style.  Some commands used
parenthesis to show the link, or attached values and options in a single
string.  These are updated to use fat commas instead.
- Option names are switched to use their long names, making them more
self-documented.  Based on a suggestion by Andrew Dunstan.
- Add some trailing commas after the last item in multi-line arrays,
which is a common perl style.

Not all the places are taken care of, but this covers a very good chunk
of them.

Author: Dagfinn Ilmari Mannsåker
Reviewed-by: Michael Paquier, Peter Smith, Euler Taveira
Discussion: https://postgr.es/m/87jzc46d8u.fsf@wibble.ilmari.org
2025-01-22 14:47:13 +09:00
..
backend Reword recent error messages: "should" -> "must" 2025-01-21 15:24:49 +01:00
bin Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
common Be clearer about when jsonapi's need_escapes is needed 2025-01-19 09:09:58 -05:00
fe_utils Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
include Fix NO ACTION temporal foreign keys when the referenced endpoints change 2025-01-21 14:39:24 +01:00
interfaces Add OLD/NEW support to RETURNING in DML queries. 2025-01-16 14:57:35 +00:00
makefiles Update copyright for 2025 2025-01-01 11:21:55 -05:00
pl Repair memory leaks in plpython. 2025-01-11 11:45:56 -05:00
port Convert libpgport's pqsignal() to a void function. 2025-01-16 16:41:05 -06:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Improve grammar of options for command arrays in TAP tests 2025-01-22 14:47:13 +09:00
timezone Update time zone data files to tzdata release 2025a. 2025-01-20 16:49:15 -05:00
tools Run perltidy 2025-01-22 10:15:32 +09:00
tutorial Doc: simplify the tutorial's window-function examples. 2025-01-21 14:43:21 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Drop warning-free support for Flex 2.5.35 2025-01-15 15:35:08 +01:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00