Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ insert_final_newline = true
[*.{c,h}]
indent_style = tab

# expected output files have trailing whitespace
[*.out]
trim_trailing_whitespace = false

# YAML files want space indentation
[*.{yml}]
indent_style = space
Expand Down
4 changes: 2 additions & 2 deletions expected/http.out
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ WITH
)
SELECT
http.content_type,
length(text_to_bytea(http.content)) AS length_binary
length(text_to_bytea(http.content)) between 5000 and 9000 AS length_binary
FROM http, headers
WHERE field ilike 'Content-Type';
content_type | length_binary
--------------+---------------
image/png | 8090
image/png | t
(1 row)

-- Alter options and and reset them and throw errors
Expand Down
2 changes: 1 addition & 1 deletion sql/http.sql
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ WITH
)
SELECT
http.content_type,
length(text_to_bytea(http.content)) AS length_binary
length(text_to_bytea(http.content)) between 5000 and 9000 AS length_binary
FROM http, headers
WHERE field ilike 'Content-Type';

Expand Down