Skip to content

Commit c55b875

Browse files
committed
Upgrade to postgresql 13
1 parent dbba904 commit c55b875

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ tail -f /var/lib/pgsql/data/log/postgresql.csv | java -jar ./plv-reveal.jar
3333

3434
## Requirements
3535

36+
### Postgresql version
37+
38+
13
39+
3640
### Postgresl settings
3741

3842
```

Diff for: src/app/postgresql_log/parser.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
:log/query
2626
:log/query-pos
2727
:log/location
28-
:log/application-name])
28+
:log/application-name
29+
:log/backend-type])
2930

3031
(defn valid-line? [line]
3132
(= (count line) (count csv-header)))

Diff for: test/app/postgresql_log/parser_test.clj

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
""
2828
""
2929
""
30-
"PostgreSQL JDBC Driver"])))
30+
"PostgreSQL JDBC Driver"
31+
"client backend"])))
3132
(testing "one missing item"
3233
(is (false? (parser/valid-line?
3334
["2020-10-22 17:54:15.466 CEST"
@@ -51,6 +52,7 @@
5152
""
5253
""
5354
""
55+
""
5456
""])))))
5557

5658
(deftest line->log-test []

0 commit comments

Comments
 (0)