mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-25 15:19:58 +00:00
feat: bump pg_session_jwt extension to 0.3.0 (#11399)
## Problem Bumps https://github.com/neondatabase/pg_session_jwt to the latest release [v0.3.0](https://github.com/neondatabase/pg_session_jwt/releases/tag/v0.3.0) that introduces PostgREST fallback mechanisms. ## Summary of changes Updates the extension download tar and the extension version in the proxy constant. ## Subscribers @mrl5
This commit is contained in:
@@ -1366,8 +1366,8 @@ ARG PG_VERSION
|
|||||||
# Do not update without approve from proxy team
|
# Do not update without approve from proxy team
|
||||||
# Make sure the version is reflected in proxy/src/serverless/local_conn_pool.rs
|
# Make sure the version is reflected in proxy/src/serverless/local_conn_pool.rs
|
||||||
WORKDIR /ext-src
|
WORKDIR /ext-src
|
||||||
RUN wget https://github.com/neondatabase/pg_session_jwt/archive/refs/tags/v0.2.0.tar.gz -O pg_session_jwt.tar.gz && \
|
RUN wget https://github.com/neondatabase/pg_session_jwt/archive/refs/tags/v0.3.0.tar.gz -O pg_session_jwt.tar.gz && \
|
||||||
echo "5ace028e591f2e000ca10afa5b1ca62203ebff014c2907c0ec3b29c36f28a1bb pg_session_jwt.tar.gz" | sha256sum --check && \
|
echo "19be2dc0b3834d643706ed430af998bb4c2cdf24b3c45e7b102bb3a550e8660c pg_session_jwt.tar.gz" | sha256sum --check && \
|
||||||
mkdir pg_session_jwt-src && cd pg_session_jwt-src && tar xzf ../pg_session_jwt.tar.gz --strip-components=1 -C . && \
|
mkdir pg_session_jwt-src && cd pg_session_jwt-src && tar xzf ../pg_session_jwt.tar.gz --strip-components=1 -C . && \
|
||||||
sed -i 's/pgrx = "0.12.6"/pgrx = { version = "0.12.9", features = [ "unsafe-postgres" ] }/g' Cargo.toml && \
|
sed -i 's/pgrx = "0.12.6"/pgrx = { version = "0.12.9", features = [ "unsafe-postgres" ] }/g' Cargo.toml && \
|
||||||
sed -i 's/version = "0.12.6"/version = "0.12.9"/g' pgrx-tests/Cargo.toml && \
|
sed -i 's/version = "0.12.6"/version = "0.12.9"/g' pgrx-tests/Cargo.toml && \
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ use crate::control_plane::messages::{ColdStartInfo, MetricsAuxInfo};
|
|||||||
use crate::metrics::Metrics;
|
use crate::metrics::Metrics;
|
||||||
|
|
||||||
pub(crate) const EXT_NAME: &str = "pg_session_jwt";
|
pub(crate) const EXT_NAME: &str = "pg_session_jwt";
|
||||||
pub(crate) const EXT_VERSION: &str = "0.2.0";
|
pub(crate) const EXT_VERSION: &str = "0.3.0";
|
||||||
pub(crate) const EXT_SCHEMA: &str = "auth";
|
pub(crate) const EXT_SCHEMA: &str = "auth";
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
|||||||
Reference in New Issue
Block a user