-
Notifications
You must be signed in to change notification settings - Fork 670
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
Add Pg14 support #5209
Merged
Merged
Add Pg14 support #5209
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
5aace9b
Enables Postgres 14 in configure
halilozanakgul 7a27d7c
Adds copy of ruleutils_13.c as ruleutils_14.c
halilozanakgul 1b6c834
Adds PG14 to version_compat.h and columnar_version_compat.h files
halilozanakgul 63cdb4b
Adds AlterTableStmtObjType macro
halilozanakgul f933d2a
Includes defrem.h in index.c
halilozanakgul b790ecf
Introduces F_NEXTVAL_COMPAT macro
halilozanakgul 4bc0c80
Adds index_delete_tuples instead of compute_xid_horizon_for_tuples
halilozanakgul 3c10e0f
Introduces ROLE_MONITOR_COMPAT macro
halilozanakgul f8d3e50
Introduces STATUS_WAITING_COMPAT macro
halilozanakgul 54ee938
Introduces getObjectTypeDescription_compat and getObjectIdentity_comp…
halilozanakgul 347ae29
Introduces stats_compat macro for MemoryContextMethods->stats
halilozanakgul ebf1b7e
Introduces macros for functions that now have include_out_arguments a…
halilozanakgul 37ae22c
Introduces macros for vacuum options
halilozanakgul 8f34f84
Introduces IsReindexWithParam_compat macro
halilozanakgul 35cfa5d
Introduces CopyFromState_compat macro
halilozanakgul db2d9af
Introduces BeginCopyFrom_compat macro
halilozanakgul 5df6251
Removes CopyGetAttnums function definition for PG14
halilozanakgul 82858ca
Introduces ProcessUtility macros for readOnlyTree parameter
halilozanakgul 1d5053b
Removes support for old protocols in Copy functions from PG14
halilozanakgul e38b757
Fixes some indentation in ruleutils_14.c
halilozanakgul a710b3b
Removes some comments with printf %.*s format from ruleutils_14.c
halilozanakgul e642f6c
Removes support for postfix operators from ruleutils_14.c
halilozanakgul beb49f0
Updates AlternativeSubPlan comment in ruleutils_14.c
halilozanakgul 69aa240
Adds for_each_from to ruleutils_14.c
halilozanakgul 30f77b2
Fixes some appendStringInfos in ruleutils_14.c
halilozanakgul b4f7630
Updates F_ARRAY_UNNEST to F_UNNEST_ANYARRAY in ruleutils_14.c
halilozanakgul 1cb865d
Adds SQL syntax function calls related changes to ruleutils_14.c
halilozanakgul d4874f5
Removes indexing.h header from ruleutils_14.c
halilozanakgul e72bd0c
Removes dependency.h from ruleutils_14.c
halilozanakgul 71691ec
Adds HASH_STRINGS flag to ruleutils_14.c
halilozanakgul 1174046
Adds bytea equivalents of ltrim() and rtrim() to ruleutils_14.c
halilozanakgul 12b3c04
Adds SEARCH and CYCLE clauses to ruleutils_14.c
halilozanakgul 5bb5385
Enhances cycle mark values at ruleutils_14.c
halilozanakgul af2853d
Adds GROUP BY DISTINCT to ruleutils_14.c
halilozanakgul c3f0528
Extends statistics on expressions in ruleutils_14.c
halilozanakgul f557bae
Adds JOIN ... USING alias to ruleutils_14.c
halilozanakgul 131062d
Removes ModifyTable check from set_deparse_plan in ruleutils_14.c
halilozanakgul 84f0be5
Adds EXTRACT cases to get_func_sql_syntax in ruleutils_14.c
halilozanakgul 2990cfb
Adds SQL-standard function body support to ruleutils_14.c
halilozanakgul 3b7bcf7
Adds missing include_out_argument parameter to func_get_detail in rul…
halilozanakgul 86d9260
Uses lfirst_node in ruleutils_14.c
halilozanakgul b01e7e8
Pass NULL for plannerInfo as we don't generate PlaceHolderVars
halilozanakgul 287706b
Introduces SetTuplestoreDestReceiverParams_compat macro
halilozanakgul 898d3bb
Introduces proc_statusflags_compat macro
halilozanakgul cb3b76e
Introduces get_partition_parent_compat and RelationGetPartitionDesc_c…
halilozanakgul b644ac5
Introduces GetOldestNonRemovableTransactionId_compat macro
halilozanakgul fd2ca28
Introduces ExecSimpleRelationInsert_compat and modifyStateResultRelIn…
halilozanakgul b21a00e
Introduces index_insert_compat macro
halilozanakgul 5930378
Renames shadowing ruleutils_14.c variables
halilozanakgul 96833e2
Use HASH_STRINGS explicitly in hash functions
SaitTalhaNisanci 29f5b99
Use empty string instead of NULL for queryString
SaitTalhaNisanci a1bfb4f
Fix unlimited copy size variable's value
SaitTalhaNisanci 8ef94dc
Changes array_cat argument type from anyarray to anycompatiblearray
halilozanakgul abd3c10
Use oid_hash in write state management
SaitTalhaNisanci 3f5c178
Remove VERBOSE output to make pg14 and pg13 output the same
SaitTalhaNisanci fb8671f
Change pg13 test to not differ with pg14 to avoid adding alternative …
SaitTalhaNisanci dc81cae
Turn off COSTS to avoid alternative output for pg14
SaitTalhaNisanci df9b714
Add some normalization rules for pg14
SaitTalhaNisanci 256e7d1
Add alternative output for window_functions
SaitTalhaNisanci 20c32a7
Add alternative output for multi_deparse_function
SaitTalhaNisanci 9b6ce10
Removes password outputs from alter_role_propagation tests
halilozanakgul 79d1b7d
add 14beta3 to CI
thanodnl f16d5e1
Introduces make_simple_restrictinfo_compat and pull_varnos_compat macros
halilozanakgul 7823e49
Introduces pg_get_statisticsobj_worker_compat macro
halilozanakgul ca0d4c3
Includes pg_version_constants.h in columnar_version_compat.h
halilozanakgul 375a1ad
Check if extversion is the same for seg extension
SaitTalhaNisanci 6b65dbc
Add partition_wise_join to avoid big alternative output
SaitTalhaNisanci 75fff14
Turn off VERBOSE to avoid alternative output
SaitTalhaNisanci f3fa133
Bind seg version to 1.3 in isolation_textension_commands
SaitTalhaNisanci aca2b8b
Add alternative output for isolation_master_update_node
SaitTalhaNisanci b632dd9
use pg14 image for pg upgrade tests
thanodnl 9fc4c27
Readds deleted resultRelInfo changes for previos PG versions
halilozanakgul c31b0c2
Sets next_shard_id at partition_wise_join test
halilozanakgul cd402b6
Add alternative output for pg12 for window_functions
SaitTalhaNisanci 7c0389a
Update propagate extension commands test for pg12
SaitTalhaNisanci d1c0403
Disable Query Idenfifier calculation in tests
SaitTalhaNisanci 2656d88
Rewrite AppendColumnNames for Pg14
SaitTalhaNisanci e63302d
update error messages for libpq 14beta3
thanodnl e0faf34
turn off costs in columnar_indexes explain query
SaitTalhaNisanci e7607b6
Add a helper function to check explain has a single task
SaitTalhaNisanci 96964ae
Turn off debug for one query to avoid adding an alternative output
SaitTalhaNisanci 4b951a2
Add alternative output for multi-mx
SaitTalhaNisanci 2fa1e5f
Use the default max_parallel_workers_per_gather for vanilla
SaitTalhaNisanci 6ff609f
Add alternative output for data_types
SaitTalhaNisanci b16dadb
Avoid NOTICE message to avoid an alternative output with pg14
SaitTalhaNisanci bd501b4
Enable pg12-pg14 upgrade test
SaitTalhaNisanci a6c40eb
Fix multi_follower_dml
SaitTalhaNisanci c799d8c
add 14beta3 to CI
thanodnl 307eb81
Fix failure for 1pc_copy_hash
SaitTalhaNisanci 4e85d9f
Add empty pg14 sql file
SaitTalhaNisanci 35a3f72
CHANGELOG: Allow REINDEX to change the tablespace of the new index
SaitTalhaNisanci 6630378
Add option PROCESS_TOAST to VACUUM - PG14 #7cb3048 (#5219)
agedemenli c431bb2
Add support for "COPY dist/ref tables FROM" progress report
onderkalaci 6fbdeb3
ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY - PG14 #71f4c8c (#5…
agedemenli 113d5d6
Adds support for column compression in table distribution
halilozanakgul 1ff7186
Extended statistics on expressions - PG14 a4d75c8 (#5224)
agedemenli 5844ab2
Support OUT parameters in procedure pushdown delegation
onderkalaci 82a3b20
Fix flaky test
onderkalaci 2b263f9
ALTER STATISTICS .. OWNER TO CURRENT_ROLE (#5225)
agedemenli 2a2ebab
Add tests for jsonb subscripting (#5232)
SaitTalhaNisanci 902af39
Add join alias tests (#5233)
SaitTalhaNisanci e1f5520
Adds propagation of ALTER TABLE .. ALTER COLUMN .. SET COMPRESSION ..
halilozanakgul 0b67fcf
Fix style
SaitTalhaNisanci 3ad3bbb
Apply latest version compat without conflicts
SaitTalhaNisanci File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: can use a variable for the true