Files
documentdb/pg_helio_api/include/utils/version_utils.h
T
Vinod Sridharan 6f1ebc3957 Merged PR 1317779: [Colocation] Prep for Colocation Hotfix
### 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)
Yes
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Prep to do schema hotfix for colocation. Port to 1.13 / 1.14
2024-04-05 13:43:51 +03:00

22 lines
607 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_H
#define VERSION_UTILS_H
bool IsClusterVersionAtleastThis(int major, int minor, int patch);
bool IsClusterVersionEqualToAndAtLeastPatch(int major, int minor, int patch);
void InvalidateVersionCache(void);
#endif