diff options
author | Tom Lane | 2003-07-24 17:52:50 +0000 |
---|---|---|
committer | Tom Lane | 2003-07-24 17:52:50 +0000 |
commit | 8fd5b3ed67d91937516d855bd6f225052aa88f2a (patch) | |
tree | 5f14c30cb79692b6d35e612ed97feb79f62a155d /contrib/tsearch2/gistidx.c | |
parent | f0c5384d4a21d85198f86281f61d5754bfdca7a5 (diff) |
Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)
Diffstat (limited to 'contrib/tsearch2/gistidx.c')
-rw-r--r-- | contrib/tsearch2/gistidx.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/tsearch2/gistidx.c b/contrib/tsearch2/gistidx.c index 5a34f74789..7d5547896c 100644 --- a/contrib/tsearch2/gistidx.c +++ b/contrib/tsearch2/gistidx.c @@ -5,8 +5,6 @@ #include "access/gist.h" #include "access/itup.h" #include "access/rtree.h" -#include "utils/elog.h" -#include "utils/palloc.h" #include "utils/array.h" #include "utils/builtins.h" #include "storage/bufpage.h" @@ -60,14 +58,18 @@ Datum gtsvector_picksplit(PG_FUNCTION_ARGS); Datum gtsvector_in(PG_FUNCTION_ARGS) { - elog(ERROR, "Not implemented"); + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("gtsvector_in not implemented"))); PG_RETURN_DATUM(0); } Datum gtsvector_out(PG_FUNCTION_ARGS) { - elog(ERROR, "Not implemented"); + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("gtsvector_out not implemented"))); PG_RETURN_DATUM(0); } |