1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Add a const decoration

Useful for a subsequent patch.

Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da@eisentraut.org
This commit is contained in:
Peter Eisentraut
2024-01-25 13:34:49 +01:00
parent 55627ba2d3
commit 924d046dcf
2 changed files with 2 additions and 2 deletions

View File

@@ -537,7 +537,7 @@ LookupCollation(ParseState *pstate, List *collnames, int location)
* pstate is only used for error location purposes, and can be NULL.
*/
Oid
GetColumnDefCollation(ParseState *pstate, ColumnDef *coldef, Oid typeOid)
GetColumnDefCollation(ParseState *pstate, const ColumnDef *coldef, Oid typeOid)
{
Oid result;
Oid typcollation = get_typcollation(typeOid);