diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-08-11 19:32:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-08-11 19:32:39 +0000 |
commit | 024d5f74ba0c857a946c318379cb22ecd87c9aeb (patch) | |
tree | 8f3c5cd6915a27daea0a46a58c8dc81e0982eab5 /src/backend/optimizer/path/indxpath.c | |
parent | f22c6f9237d02267071a2edab212bd398014d733 (diff) | |
download | postgresql-024d5f74ba0c857a946c318379cb22ecd87c9aeb.tar.gz postgresql-024d5f74ba0c857a946c318379cb22ecd87c9aeb.zip |
index strategy cleanup
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r-- | src/backend/optimizer/path/indxpath.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c index d62c92e2837..2932f82b7ec 100644 --- a/src/backend/optimizer/path/indxpath.c +++ b/src/backend/optimizer/path/indxpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.27 1998/08/10 04:49:37 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.28 1998/08/11 19:32:37 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -953,11 +953,10 @@ clause_pred_clause_test(Expr *predicate, Node *clause) /* * 1. Find a "btree" strategy number for the pred_op */ - /* XXX - hardcoded amopid value 403 to find "btree" operator classes */ ScanKeyEntryInitialize(&entry[0], 0, Anum_pg_amop_amopid, F_OIDEQ, - ObjectIdGetDatum(403)); + ObjectIdGetDatum(BTREE_AM_OID)); ScanKeyEntryInitialize(&entry[1], 0, Anum_pg_amop_amopopr, |