diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-02-26 15:22:27 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-02-26 15:22:27 +0200 |
commit | 66f0cf7da8eeaeca4b9894bfafd61789b514af4a (patch) | |
tree | 53974e94a22f757082abc0e7e96805a77a6b94e3 /src/include/commands | |
parent | ac086d466d124337ba87c8eca9aca2417c5bb98f (diff) |
Remove useless const qualifier
Claiming that the typevar argument to DefineCompositeType() is const
was a plain lie. A similar case in DefineVirtualRelation() was
already changed in passing in commit 1575fbcb. Also clean up the now
unnecessary casts that used to cast away the const.
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/typecmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/typecmds.h b/src/include/commands/typecmds.h index 9de5330924e..0c7e10d392d 100644 --- a/src/include/commands/typecmds.h +++ b/src/include/commands/typecmds.h @@ -25,7 +25,7 @@ extern void DefineDomain(CreateDomainStmt *stmt); extern void DefineEnum(CreateEnumStmt *stmt); extern void DefineRange(CreateRangeStmt *stmt); extern void AlterEnum(AlterEnumStmt *stmt); -extern Oid DefineCompositeType(const RangeVar *typevar, List *coldeflist); +extern Oid DefineCompositeType(RangeVar *typevar, List *coldeflist); extern Oid AssignTypeArrayOid(void); extern void AlterDomainDefault(List *names, Node *defaultRaw); |