Skip to content

Commit

Permalink
chore: upgrade declared pg version to 13.14.0 (#15177)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 authored Feb 23, 2024
1 parent d6a1089 commit 34bb7e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions e2e_test/batch/catalog/version.slt.part
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
query T
select substring(version() from 1 for 14);
select substring(version() from 1 for 16);
----
PostgreSQL 9.5
PostgreSQL 13.14
6 changes: 3 additions & 3 deletions e2e_test/batch/functions/setting.slt.part
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
query T
SELECT current_setting('server_version');
----
9.5.0
13.14.0

query I
SELECT CAST(current_setting('server_version_num') AS INT) / 100 AS version;
SELECT current_setting('server_version_num') AS version;
----
905
130014

query T
SELECT set_config('client_min_messages', 'warning', false);
Expand Down
4 changes: 2 additions & 2 deletions src/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ pub const UNKNOWN_GIT_SHA: &str = "unknown";

// The single source of truth of the pg parameters, Used in ConfigMap and current_cluster_version.
// The version of PostgreSQL that Risingwave claims to be.
pub const PG_VERSION: &str = "9.5.0";
pub const PG_VERSION: &str = "13.14.0";
/// The version of PostgreSQL that Risingwave claims to be.
pub const SERVER_VERSION_NUM: i32 = 90500;
pub const SERVER_VERSION_NUM: i32 = 130014;
/// Shows the server-side character set encoding. At present, this parameter can be shown but not set, because the encoding is determined at database creation time. It is also the default value of `client_encoding`.
pub const SERVER_ENCODING: &str = "UTF8";
/// see <https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-STANDARD-CONFORMING-STRINGS>
Expand Down

0 comments on commit 34bb7e3

Please sign in to comment.