diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-08-29 08:30:45 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-08-29 08:30:45 +0200 |
commit | 2b088c8e4a2c9879d2f37fa4b38ae925184cea64 (patch) | |
tree | 36e01791b85ebd2af6dad0c378a9d4b0c8b1a84b | |
parent | 5fec3c870ec8c1e9c88c368243b1533a2d5c53e7 (diff) | |
download | postgresql-2b088c8e4a2c9879d2f37fa4b38ae925184cea64.tar.gz postgresql-2b088c8e4a2c9879d2f37fa4b38ae925184cea64.zip |
Add some const decorations
Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
-rw-r--r-- | src/backend/commands/tablecmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 47c900445c7..2ac6f8b334f 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -648,7 +648,7 @@ static void refuseDupeIndexAttach(Relation parentIdx, Relation partIdx, static void verifyPartitionIndexNotNull(IndexInfo *iinfo, Relation partIdx); static List *GetParentedForeignKeyRefs(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); @@ -20094,7 +20094,7 @@ ATDetachCheckNoForeignKeyRefs(Relation partition) * resolve column compression specification to compression method. */ static char -GetAttributeCompression(Oid atttypid, char *compression) +GetAttributeCompression(Oid atttypid, const char *compression) { char cmethod; |