Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id OAA10355 for postgres-redist; Fri, 13 Jan 1995 14:36:01 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199501132236.OAA10355@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 njord.umiacs.UMD.EDU (njord.umiacs.umd.edu [128.8.120.77]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id OAA10345 for <postgres@nobozo.CS.Berkeley.EDU>; Fri, 13 Jan 1995 14:35:59 -0800
From: iwerks@umiacs.umd.edu
Received: by njord.umiacs.UMD.EDU (8.6.9/UMIACS-0.9/04-05-88)
	id RAA12972; Fri, 13 Jan 1995 17:35:55 -0500
Date: Fri, 13 Jan 1995 17:35:55 -0500
Message-Id: <199501132235.RAA12972@njord.umiacs.UMD.EDU>
To: postgres@postgres.Berkeley.EDU
Subject: indices on user defined types
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Fri, 13 Jan 95 14:36:01 -0800
Resent-XMts: smtp



I am running postgres-r4v1 on a Sun/Sparc10.
I am trying to use indices with user defined types.
I tried the example in the appendix of 'The POSTGRES User Manual'.
Everything works fine until I try to define an index using the new opclass.
(very last page of the manual)
The following is what happens...
................................


Go 
* define index pairsind on pairs
        using btree (number int4_abs_ops) \g

Query sent to backend is "define index pairsind on pairs         using btree (number int4_abs_ops) "
WARN:Jan 13 17:22:02:fmgr_info: function 0: cache lookup failed


Go 
* define index pairsind on pairs
        using btree (number int4_abs_ops) \g

Query sent to backend is "define index pairsind on pairs         using btree (number int4_abs_ops) "
WARN:Jan 13 17:24:59:Cannot initialize non-empty btree pairsind

Go 
* remove index pairsind \g

Query sent to backend is "remove index pairsind "
WARN:Jan 13 17:25:52:index "pairsind" nonexistent


...............................
...and then if I exit and try to destroy the database the backend starts
spinning its wheels and has to be killed.  The system will no
longer run properly until ipcclean is used.

Does anyone have any idea what the problem might be?
Has anyone else had this problem?

Thanks in advance,

Glenn Iwerks

==============================================================================
   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.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
