pgsql: Suppress compiler warning for get_am_type_string().
pgsql: 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/a376960c8f8ec08783e1c529f36fbeb60236b378 Modified Files -------------- src/backend/commands/amcmds.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)