Files
documentdb/pg_helio_api/include/utils/version_utils_private.h
T
Vinod Sridharan d4018f7a46 Merged PR 1283033: [PG16] Part2: Enable backend tests for PG16
### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Changes:
- Unify rum_tuplesort_get_estimated_itemcount between PG16/PG15
- Remove set local force_parallel_mode TO ON; - This flag is removed in PG16
- Remove legacy query generation for lookup tests
- Citus 12.1 made the default behavior not to push down filters - set htat GUC to true for the extension
2024-03-01 17:24:28 +03:00

38 lines
849 B
C

/*-------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* include/utils/version_utils.h
*
* Utilities that Provide extension functions to handle version upgrade
* scenarios.
*
*-------------------------------------------------------------------------
*/
#include <postgres.h>
#ifndef VERSION_UTILS_PRIVATE_H
#define VERSION_UTILS_PRIVATE_H
/*
* The current Extensions' version.
* Note Extension versions are of the form
* <Major>.<Minor>-<Patch>
*/
typedef struct ExtensionVersion
{
/* The major version of the extension */
int Major;
/* The minor version of the extension */
int Minor;
/* The patch version of the extension */
int Patch;
} ExtensionVersion;
extern ExtensionVersion CurrentVersion;
void RefreshCurrentVersion(void);
#endif