Suppress compiler warning for get_am_type_string().
Tom Lane <tgl@sss.pgh.pa.us>
Suppress compiler warning for get_am_type_string(). Compilers that don't know that elog(ERROR) doesn't return complained that this function might fail to return a value. Per buildfarm. While at it, const-ify the function's declaration, since the intent is evidently to always return a constant string.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/amcmds.c | modified | +4 −3 |