mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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
This commit is contained in:
@ -313,15 +313,15 @@ select json '{ "a": "null \u0000 escape" }' ->> 'a' as not_unescaped;
|
||||
|
||||
--json_typeof() function
|
||||
select value, json_typeof(value)
|
||||
from (values (json '123.4'),
|
||||
(json '-1'),
|
||||
(json '"foo"'),
|
||||
(json 'true'),
|
||||
(json 'false'),
|
||||
from (values (json '123.4'),
|
||||
(json '-1'),
|
||||
(json '"foo"'),
|
||||
(json 'true'),
|
||||
(json 'false'),
|
||||
(json 'null'),
|
||||
(json '[1, 2, 3]'),
|
||||
(json '[]'),
|
||||
(json '{"x":"foo", "y":123}'),
|
||||
(json '{}'),
|
||||
(json '[1, 2, 3]'),
|
||||
(json '[]'),
|
||||
(json '{"x":"foo", "y":123}'),
|
||||
(json '{}'),
|
||||
(NULL::json))
|
||||
as data(value);
|
||||
|
Reference in New Issue
Block a user