Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id EAA18518 for postgres-redist; Thu, 14 Jul 1994 04:19:03 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199407141119.EAA18518@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from tutkie.tutkie.tut.ac.jp (tutkie.tut.ac.jp [133.15.160.64]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id EAA18508 for ; Thu, 14 Jul 1994 04:19:01 -0700 Received: from molout.tutkie.tut.ac.jp by tutkie.tutkie.tut.ac.jp (8.6.5+2.3W/6.4J.6) id UAA15730; Thu, 14 Jul 1994 20:16:37 +0900 Received: by molout.tutkie.tut.ac.jp (4.30/6.4J.6) id AA12463; Thu, 14 Jul 94 20:19:56 jst Date: Thu, 14 Jul 94 20:19:56 jst From: wolf@molout.tutkie.tut.ac.jp (Wolf-D. Ihlenfeldt) Message-Id: <9407141119.AA12463@molout.tutkie.tut.ac.jp> To: postgres@postgres.Berkeley.EDU Subject: How to interface hash access to user types Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Thu, 14 Jul 94 04:19:03 -0700 Resent-XMts: smtp he Postgres 4.2 documentation explains in detail how to interface user data types to btree access methods but seems to be completely silent about introducing a hash access method for a user data type. Does anybody know the necessary steps ? Details: I need to access unsigned 64 bit integers. I have a comprehensive set of functions for this type, and I was able to define a btree access for this type. However, I always retrieve with the '=' operator and therefore a hash access to these numbers (which are hashcodes themselves) might be mor effective. Currently I fail with WARN:Jul 14 20:30:13:IndexCatalogInformation: no amop 405 65504 1 in the query (dbxtool) print query `wb_dbwrite`db_write_prepare`query = "retrieve (Molecules.oid) where Molecules.E_HASHY="5F25E412BAC38683"::uint8" with an (unprepared) hash index on the E_HASHY field. Thank you for your help. WDI ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================