Skip to content

Commit

Permalink
Bump babelfishpg_tsql extension version to 1.3.0 (babelfish-for-postg…
Browse files Browse the repository at this point in the history
…resql#852)

This commit bumps up babelfishpg_tsql extension version to 1.3.0 and adds upgrade script for 1.2.1 to 1.3.0 upgrade path.

Signed-off-by: Harsh Lunagariya <lunharsh@amazon.com>
  • Loading branch information
HarshLunagariya authored and raydhkim committed Nov 18, 2022
1 parent 7fc9886 commit b4f4e07
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/babelfishpg_tsql/Version.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# places during the build process

PGTSQL_MAJOR_VERSION=1
PGTSQL_MINOR_VERSION=2
PGTSQL_MICRO_VERSION=1
PGTSQL_MINOR_VERSION=3
PGTSQL_MICRO_VERSION=0

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION ""babelfishpg_tsql"" UPDATE TO '1.3.0'" to load this file. \quit

SELECT set_config('search_path', 'sys, '||current_setting('search_path'), false);

-- Reset search_path to not affect any subsequent scripts
SELECT set_config('search_path', trim(leading 'sys, ' from current_setting('search_path')), false);

0 comments on commit b4f4e07

Please sign in to comment.