From 001e114b8d59f4eaf2a314a2bc5e57078afdf82f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 10 Nov 2013 09:20:52 -0500 Subject: Fix whitespace issues found by git diff --check, add gitattributes Set per file type attributes in .gitattributes to fine-tune whitespace checks. With the associated cleanups, the tree is now clean for git --- doc/src/sgml/event-trigger.sgml | 4 ++-- doc/src/sgml/func.sgml | 2 +- doc/src/sgml/pgbench.sgml | 2 +- doc/src/sgml/ref/select.sgml | 2 +- doc/src/sgml/sources.sgml | 2 +- doc/src/sgml/syntax.sgml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/event-trigger.sgml b/doc/src/sgml/event-trigger.sgml index ac313321ff9..e5b9e661853 100644 --- a/doc/src/sgml/event-trigger.sgml +++ b/doc/src/sgml/event-trigger.sgml @@ -793,9 +793,9 @@ CREATE EVENT TRIGGER noddl ON ddl_command_start =# \dy List of event triggers - Name | Event | Owner | Enabled | Procedure | Tags + Name | Event | Owner | Enabled | Procedure | Tags -------+-------------------+-------+---------+-----------+------ - noddl | ddl_command_start | dim | enabled | noddl | + noddl | ddl_command_start | dim | enabled | noddl | (1 row) =# CREATE TABLE foo(id serial); diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index a1d3aee8f57..89f08aff979 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -13469,7 +13469,7 @@ SELECT * FROM unnest2(ARRAY[[1,2],[3,4]]); -- set returning function WITH ORDINALITY SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n); - ls | n + ls | n -----------------+---- pg_serial | 1 pg_twophase | 2 diff --git a/doc/src/sgml/pgbench.sgml b/doc/src/sgml/pgbench.sgml index 8e1a05dde8a..05ca9b76abc 100644 --- a/doc/src/sgml/pgbench.sgml +++ b/doc/src/sgml/pgbench.sgml @@ -439,7 +439,7 @@ pgbench options dbname transactions go past their original scheduled end time, it is possible for later ones to catch up again. - + When throttling is active, the average and maximum transaction schedule lag time are reported in ms. This is the delay between the original scheduled transaction time and the actual transaction diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index 42cfc28a5e5..e603b7644ea 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -376,7 +376,7 @@ TABLE [ ONLY ] table_name [ * ] For example: SELECT * FROM unnest(ARRAY['a','b','c','d','e','f']) WITH ORDINALITY; - unnest | ordinality + unnest | ordinality --------+---------- a | 1 b | 2 diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index 61ab9325c9e..881b0c31a75 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -148,7 +148,7 @@ ereport(ERROR, function and does not return to the caller. If the severity level is lower than ERROR, ereport returns normally. - + The available auxiliary routines for ereport are: diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 435709a8d4e..4f50f431475 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1620,7 +1620,7 @@ SELECT count(*) AS unfiltered, count(*) FILTER (WHERE i < 5) AS filtered FROM generate_series(1,10) AS s(i); - unfiltered | filtered + unfiltered | filtered ------------+---------- 10 | 4 (1 row) -- cgit v1.2.3