1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Replace cryptic 'Unknown kind of return type' messages with something

hopefully a little more useful.
This commit is contained in:
Tom Lane
2003-06-15 17:59:10 +00:00
parent 996fdb9af1
commit 3fb6f1347f
6 changed files with 20 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.96 2003/04/08 23:20:00 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_proc.c,v 1.97 2003/06/15 17:59:10 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -483,7 +483,8 @@ checkretval(Oid rettype, char fn_typtype, List *queryTreeList)
*/
}
else
elog(ERROR, "Unknown kind of return type specified for function");
elog(ERROR, "return type %s is not supported for SQL functions",
format_type_be(rettype));
}