Skip to content

Commit 17b9c3e

Browse files
Support for Babelfish v.5.2.0 (17.5) and v.4.6.0 (16.9)
Updated time and metadata config for new minor version releases of babelfish v5.2.0 (PG 17.5) and v4.6.0 (PG 16.9). Added support for newly supported features ALTER VIEW and UNPIVOT. Task: BABEL-5786 Signed-off-by: Manisha Deshpande <mmdeshp@amazon.com>
1 parent 1c05a80 commit 17b9c3e

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

BabelfishCompass_UserGuide.docx

568 Bytes
Binary file not shown.

BabelfishCompass_UserGuide.pdf

-33 Bytes
Binary file not shown.

BabelfishFeatures.cfg

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# this must always be the first section:
1616
[Babelfish for T-SQL]
1717
# only Babelfish version numbers listed here can be referenced the rules below:
18-
valid_versions=1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 5.1.0
18+
valid_versions=1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 4.0.0, 4.1.0, 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 5.1.0, 5.2.0
1919
# x.y.1/2/3 etc are bugfix releases for x.y.0 (no new T-SQL features supported), and are typically based on a newer PG release
2020
file_format=2 # version number for format of this .cfg file. This is not expected to change much
21-
file_timestamp=Apr-2025 # identifies the version of this file, together with the latest Babelfish version supported
21+
file_timestamp=Jun-2025 # identifies the version of this file, together with the latest Babelfish version supported
2222
# format: dd-MON-yyyy or MON-yyyy
2323

2424
# Basic principle:
@@ -611,6 +611,8 @@ supported-1.0.0=arg4=NO_SUPPORTED_ARGUMENTS_RIGHT_NOW
611611

612612
[ALTER VIEW]
613613
rule=create_or_alter_view
614+
supported-4.6.0-4.*=*
615+
supported-5.2.0-5.*=*
614616
report_group=Views
615617
complexity_score=HIGH
616618

@@ -1182,6 +1184,8 @@ report_group=DML
11821184
11831185
[SELECT..UNPIVOT]
11841186
rule=unpivot_clause
1187+
supported-4.6.0-4.*=*
1188+
supported-5.2.0-5.*=*
11851189
report_group=DML
11861190
11871191
[SELECT TOP WITH TIES]
@@ -1681,5 +1685,5 @@ report_group=Identifiers
16811685
complexity_score=LOW
16821686
16831687
#-----------------------------------------------------------------------------------
1684-
#file checksum=07cb0775
1688+
#file checksum=1f187f61
16851689
#--- end ---------------------------------------------------------------------------

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2025-06
2+
- Added support for Babelfish v.5.2.0 and v.4.6.0.
3+
- Detect ALTER VIEW and UNPIVOT operations.
4+
15
# 2025-04
26
- Added support for Babelfish v.5.1.0 and v.4.5.0.
37
- Detect various server-level and database-level fixed roles.

src/main/java/compass/CompassUtilities.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public class CompassUtilities {
4040
public static boolean onLinux = false;
4141
public static String onPlatform = uninitialized;
4242

43-
public static final String thisProgVersion = "2025-04";
44-
public static final String thisProgVersionDate = "April 2025";
43+
public static final String thisProgVersion = "2025-06";
44+
public static final String thisProgVersionDate = "June 2025";
4545
public static final String thisProgName = "Babelfish Compass";
4646
public static final String thisProgNameLong = "Compatibility assessment tool for Babelfish for PostgreSQL";
4747
public static final String thisProgNameExec = "Compass";
@@ -112,8 +112,8 @@ public class CompassUtilities {
112112
public String targetBabelfishVersionReportLine = "Target Babelfish version : v."; // line in report listing the target version
113113
public boolean stdReport = false; // development only
114114

115-
public static List<String> BabelfishVersionList = Arrays.asList("1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0", "3.1.0", "3.2.0", "3.3.0", "3.4.0", "3.5.0", "4.0.0", "4.1.0", "4.2.0", "4.3.0", "4.4.0", "4.5.0", "5.1.0");
116-
public static List<String> BabelfishPGVersionList = Arrays.asList("13.4", "13.5", "13.6", "13.7", "13.8", "13.9", "14.3/4", "14.5", "14.6", "14.7", "15.2", "15.3", "15.4", "15.5", "15.6", "16.1", "16.2", "16.3", "16.4", "16.6", "16.8", "17.4");
115+
public static List<String> BabelfishVersionList = Arrays.asList("1.0.0", "1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0", "3.1.0", "3.2.0", "3.3.0", "3.4.0", "3.5.0", "4.0.0", "4.1.0", "4.2.0", "4.3.0", "4.4.0", "4.5.0", "4.6.0", "5.1.0", "5.2.0");
116+
public static List<String> BabelfishPGVersionList = Arrays.asList("13.4", "13.5", "13.6", "13.7", "13.8", "13.9", "14.3/4", "14.5", "14.6", "14.7", "15.2", "15.3", "15.4", "15.5", "15.6", "16.1", "16.2", "16.3", "16.4", "16.6", "16.8", "16.9", "17.4", "17.5");
117117

118118
// minimum Babelfish version; this is fixed
119119
public static final String baseBabelfishVersion = "1.0.0";

0 commit comments

Comments
 (0)