Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit for Babelfish v2.11 #2854

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/configuration/upgrade-test-configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ upgrade-version: [{
{
upgrade-path: [
{
version: '14.12',
version: '14.13',
rishabhtanwar29 marked this conversation as resolved.
Show resolved Hide resolved
upgrade-type: null
},
{
Expand Down
3 changes: 3 additions & 0 deletions .github/template/version-branch-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
'14.12':
engine_branch: BABEL_2_9_STABLE__PG_14_12
extension_branch: BABEL_2_9_STABLE
'14.13':
engine_branch: BABEL_2_10_STABLE__PG_14_13
extension_branch: BABEL_2_10_STABLE
'source.latest':
engine_branch: latest
extension_branch: latest
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ contrib/babelfishpg_tsql/antlr/antlr4cpp_generated_src/
contrib/babelfishpg_tsql/antlr/cmake_install.cmake
contrib/babelfishpg_tsql/pl_reserved_kwlist_d.h
contrib/babelfishpg_tsql/pl_unreserved_kwlist_d.h
contrib/babelfishpg_tsql/sql/babelfishpg_tsql--[0-9].[0-9].[0-9]--[0-9].[0-9].[0-9].sql
contrib/babelfishpg_tsql/sql/babelfishpg_tsql--[0-9].[0-9].[0-9].sql
contrib/babelfishpg_tsql/sql/babelfishpg_tsql--[0-9]*.[0-9]*.[0-9]*--[0-9]*.[0-9]*.[0-9]*.sql
contrib/babelfishpg_tsql/sql/babelfishpg_tsql--[0-9]*.[0-9]*.[0-9]*.sql
contrib/babelfishpg_tsql/src/backend_parser/gram-backend.c
contrib/babelfishpg_tsql/src/backend_parser/gram-backend.h
contrib/babelfishpg_tsql/src/backend_parser/gram-backend.output
Expand All @@ -32,4 +32,5 @@ contrib/babelfishpg_tsql/src/backend_parser/scan-backend.c
contrib/babelfishpg_tsql/src/backend_parser/scan-backend.l
contrib/babelfishpg_tsql/src/pl_gram.c
contrib/babelfishpg_tsql/src/pl_gram.h
contrib/babelfishpg_tsql/src/pl_gram.output
contrib/babelfishpg_tsql/src/pl_gram.output

2 changes: 1 addition & 1 deletion 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=2
PGTSQL_MINOR_VERSION=10
PGTSQL_MINOR_VERSION=11
PGTSQL_MICRO_VERSION=0

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

-- add 'sys' to search path for the convenience
SELECT set_config('search_path', 'sys, '||current_setting('search_path'), false);

-- Please add your SQLs here
/*
* Note: These SQL statements may get executed multiple times specially when some features get backpatched.
* So make sure that any SQL statement (DDL/DML) being added here can be executed multiple times without affecting
* final behaviour.
*/


-- After upgrade, always run analyze for all babelfish catalogs.
CALL sys.analyze_babelfish_catalogs();

-- Reset search_path to not affect any subsequent scripts
SELECT set_config('search_path', trim(leading 'sys, ' from current_setting('search_path')), false);
4 changes: 2 additions & 2 deletions contrib/babelfishpg_tsql/src/babelfish_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*-------------------------------------------------------------------------
*/

#define BABELFISH_VERSION_STR "2.10.0"
#define BABELFISH_INTERNAL_VERSION_STR "Babelfish 14.13.0.0"
#define BABELFISH_VERSION_STR "2.11.0"
#define BABELFISH_INTERNAL_VERSION_STR "Babelfish 14.14.0.0"
#define BABEL_COMPATIBILITY_VERSION "12.0.2000.8"
#define BABEL_COMPATIBILITY_MAJOR_VERSION "12"
Loading
Loading