forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support for DROP LOGIN for windows user #42
Open
Deepesh125
wants to merge
17
commits into
ad-jira-babel-3849
Choose a base branch
from
ad-jira-babel-3854
base: ad-jira-babel-3849
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ostgresql#1002) Description Adding testcases for case-insensitive collation data The T-SQL version of information_schema.tables needs to display TABLE_NAME as lowercase for matching with sys.objects sys.sysname and other string types in Babelfish need to have the correct collation Resolved case-sensitivity issue with UDD column Added testcases when a view contains collatable constants sys.databases.name should have case-insensitive collation sys view columns need to have the correct output type and collation Task: BABEL-3217, BABEL-2981, BABEL-526, BABEL-3323, BABEL-3165, BABEL-3094 Signed-off-by: Satarupa Biswas [email protected]
0437ab0
to
7291dd5
Compare
…-for-postgresql#1012) Earlier we had a limit for 100 bind parameters for prepared statements, with this change we now have increased the limit to 2100. Task: BABEL-3620 Authored-by: Kushaal Shroff <[email protected]> Signed-off-by: Dipesh Dhameliya <[email protected]>
In PG, TAP test framework is used to drive tests for backup and restore, replication, etc - anything that can't really be expressed using pg_regress or the isolation test framework. Basically, it can be used if we want something more than just comparing the expected outputs. It may include: 1. Some engine/os configuration changes 2. Start or stop the server 3. grep log messages from log file and match with expected log file output 4. system calls In Babelfish, we can utilize the same test framework for the following scenarios: 1. pg_hba.conf changes with password authentication 2. Kerberos authentication by setting up MIT kerberos 3. SSL setup and test encrypted connection 4. Different Provisioning scenarios Authored-by: Kuntal Ghosh <[email protected]>
Add babelfishpg_tsql—2.3—2.4.sql upgrade script changes into babelfishpg_tsql—3.0—3.1.sql upgrade script as well. Task: BABEL-3781 Signed-off-by: pratikzode <[email protected]>
This commit adds the support for T-SQL linked server objects through PostgreSQL foreign data wrappers (FDWs). Currently, only support for linked servers for remote SQL Servers is added. Thus, to add linked servers of this type, the tds_fdw extension needs to be installed. Also, added the support for T-SQL sp_addlinkedserver stored procedure to add a linked server in Babelfish and sys.servers system view to show list of linked servers. sp_addlinkedserver stored procedure has been implemented such that internally it uses PG's CREATE FOREIGN SERVER logic and so, a linked server added is internally a PG foreign server. sys.servers system view uses the pg_foreign_server catalog internally. Task: BABEL-861 Signed-off-by: Sharu Goel <[email protected]>
…gresql#955) (babelfish-for-postgresql#1030) Description Initially the value of is_identity is marked as 0 by default.Have added conditions in order to select between 0 and 1 in order to support SSMS scripting. Task : BABEL-3805 Signed-off-by: Ashish Prasad [email protected] Issues Resolved BABEL-3805
…#1023) We're introducing a workflow for creating the tags automatically. It'll help us to automate the open-source release process. Task: BABEL-OSS Signed-off-by: Shameem Ahmed <[email protected]>
…r-postgresql#1014) In this fix we replace the palloc() call with palloc0() so that memory allocated for ParseState is zero allocated memory. Task: BABEL-3770 Signed-off-by: Sharu Goel [email protected]
…ish-for-postgresql#1018) In T-SQL world, Authentication mechanism would be chosen by the client as opposed to Postgres where authentication method selection would be controlled through pg_hba.conf file on server side. For example, TDS client such as sqlcmd would not specify any username in login packet when it wants to use Kerberos/NTLM authentication. So in order to support Kerberos authentication, this commit avoids consulting pg_hba.conf file if sspi data is present in login request during authentication. Task: BABEL-3847, BABEL-3849 Signed-off-by: Dipesh Dhameliya [email protected]
da04c30
to
4f96b8b
Compare
…#968) (babelfish-for-postgresql#1031) Description Initially the value of definition column in sys.computed_columns is derived from a PG function pg_get_expr.Have added a tsql function to get the computed column definition value and also fixed is_computed by adding conditions in order to select between 0 and 1 in order to support SSMS scripting. Issue Resolved BABEL-3806 Signed-off-by: Ashish Prasad [email protected]
…ql#990) (babelfish-for-postgresql#1028) Previously every call to the function VarCharToDatum() previously used TDSGetEncoding() function which internally called LookupEncodingByLCID().For bulk insert scenario for every row in a table for a varchar, char, text column we called VarCharToDatum function which lead to extra calls to LookupEncodingByLCID function causing an overhead. The current solution implemented is to at the start of request set the encoding of the column as a part of columnMetadata for both bulk insert as well as Tvp(Table valued Parameters). This would remove the redundant calls to LookupEncodingByLCID. Issues Resolved: BABEL-3623 Signed-off-by: Nirmit Shah [email protected]
- Update major version upgrade github workflows to use latest - PG 14 branches as version 14.7. - Update MVU for empty database tests to use latest branches from PG 14. - Modified test BABEL-3793 to remove one failing sql, the removed sql is already getting tested in TestVariableLength-vu* test. - Modified install-dependency composite action to retry 10 times before failing. Task: BABEL-OSS Signed-off-by: Rishabh Tanwar [email protected]
…admin Previously, when adding a member to sysadmin role, there was no check on whether current login has DB user in one of the databases. As Babelfish does not support >1 dbo, every login has to be checked if it is a user already when being added to sysadmin. Now, logins that already have a user in one of the databases are blocked, when users try to add the login to sysadmin role. Task: BABEL-3637 Signed-off-by: Ray Kim <[email protected]>
…gresql#1009) * Support UDTS for sequences and ISC-sequences view (babelfish-for-postgresql#663) - Creation of view information_schema_tsql.sequences to support for T-SQL INFORMATION_SCHEMA.SEQUENCES. - Provide support for creation of a sequence using user-defined data types which is currently not supported in Babelfish. - Add test cases for both implementations * added INFORMATION_SCHEMA.SEQUENCES to 3.0-3.1 upgrade script cherry-pick commit Support UDTS for sequences and ISC-sequences view babelfish-for-postgresql#663 and fix upgrade script of INFORMATION_SCHEMA.SEQUENCES view babelfish-for-postgresql#927 in 3_X_DEV added INFORMATION_SCHEMA.SEQUENCES to 3.0.0-3.1.0 upgrade script.
This reverts commit b6c4e14.
ab21f49
to
58148cd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.