mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Add some const decorations
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
This commit is contained in:
@ -648,7 +648,7 @@ static void refuseDupeIndexAttach(Relation parentIdx, Relation partIdx,
|
|||||||
static void verifyPartitionIndexNotNull(IndexInfo *iinfo, Relation partIdx);
|
static void verifyPartitionIndexNotNull(IndexInfo *iinfo, Relation partIdx);
|
||||||
static List *GetParentedForeignKeyRefs(Relation partition);
|
static List *GetParentedForeignKeyRefs(Relation partition);
|
||||||
static void ATDetachCheckNoForeignKeyRefs(Relation partition);
|
static void ATDetachCheckNoForeignKeyRefs(Relation partition);
|
||||||
static char GetAttributeCompression(Oid atttypid, char *compression);
|
static char GetAttributeCompression(Oid atttypid, const char *compression);
|
||||||
static char GetAttributeStorage(Oid atttypid, const char *storagemode);
|
static char GetAttributeStorage(Oid atttypid, const char *storagemode);
|
||||||
|
|
||||||
|
|
||||||
@ -20094,7 +20094,7 @@ ATDetachCheckNoForeignKeyRefs(Relation partition)
|
|||||||
* resolve column compression specification to compression method.
|
* resolve column compression specification to compression method.
|
||||||
*/
|
*/
|
||||||
static char
|
static char
|
||||||
GetAttributeCompression(Oid atttypid, char *compression)
|
GetAttributeCompression(Oid atttypid, const char *compression)
|
||||||
{
|
{
|
||||||
char cmethod;
|
char cmethod;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user