diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-24 17:52:50 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-24 17:52:50 +0000 |
| commit | 8fd5b3ed67d91937516d855bd6f225052aa88f2a (patch) | |
| tree | 5f14c30cb79692b6d35e612ed97feb79f62a155d /contrib/tsearch/gistidx.c | |
| parent | f0c5384d4a21d85198f86281f61d5754bfdca7a5 (diff) | |
| download | postgresql-8fd5b3ed67d91937516d855bd6f225052aa88f2a.tar.gz | |
Error message editing in contrib (mostly by Joe Conway --- thanks Joe!)
Diffstat (limited to 'contrib/tsearch/gistidx.c')
| -rw-r--r-- | contrib/tsearch/gistidx.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/tsearch/gistidx.c b/contrib/tsearch/gistidx.c index 1222c36a1e..9fe40fb087 100644 --- a/contrib/tsearch/gistidx.c +++ b/contrib/tsearch/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 gtxtidx_picksplit(PG_FUNCTION_ARGS); Datum gtxtidx_in(PG_FUNCTION_ARGS) { - elog(ERROR, "Not implemented"); + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("gtxtidx_in not implemented"))); PG_RETURN_DATUM(0); } Datum gtxtidx_out(PG_FUNCTION_ARGS) { - elog(ERROR, "Not implemented"); + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("gtxtidx_out not implemented"))); PG_RETURN_DATUM(0); } |
