diff --git a/doc/example/pgsql-pgbackrest-info.sql b/doc/example/pgsql-pgbackrest-info.sql index 16e98567c..61d4a9fce 100644 --- a/doc/example/pgsql-pgbackrest-info.sql +++ b/doc/example/pgsql-pgbackrest-info.sql @@ -13,14 +13,14 @@ declare data jsonb; begin -- Create a temp table to hold the JSON data - create temp table temp_pgbackrest_data (data jsonb); + create temp table temp_pgbackrest_data (data text); -- Copy data into the table directly from the pgBackRest info command copy temp_pgbackrest_data (data) from program 'pgbackrest --output=json info' (format text); - select temp_pgbackrest_data.data + select replace(temp_pgbackrest_data.data, E'\n', '\n')::jsonb into data from temp_pgbackrest_data; diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 695575fed..43d0095f2 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -65,6 +65,25 @@ + + + + + + + + + + + + + + + + Add replacement for linefeeds in monitoring example. + + + @@ -12066,6 +12085,11 @@ gkleen + + gmustdie + gmustdie + + Greg Sabino Mullane turnstep @@ -12110,6 +12134,11 @@ Isaacwhyuenac + + Ivan Shelestov + Shelestov7 + + Reid Thompson jreidthompson @@ -12498,6 +12527,11 @@ rdunklau + + rudonx + rudonx + + Ryan Lambert rustprooflabs
Add replacement for linefeeds in monitoring example.