Remove useless const qualifier
Peter Eisentraut <peter_e@gmx.net>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/typecmds.c | modified | +2 −2 |
| src/backend/commands/view.c | modified | +1 −1 |
| src/include/commands/typecmds.h | modified | +1 −1 |