niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » PostgreSQL
access method "gin" does not exist
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Kevin Murphy
*nix forums beginner


Joined: 11 Mar 2005
Posts: 30

PostPosted: Thu Jul 20, 2006 4:25 pm    Post subject: access method "gin" does not exist Reply with quote

I'm trying to test the 8.1 backport of the 8.2 GIN index and tsearch2
functionality.

The patch is applied successfully (to 8.1.4, on OS X 10.4.7 w/ xcode
2.3), the build and install goes well, stop & start of postmaster is
done, but initializing tsearch2 fails:

psql -U postgres minitest <
/usr/local/src/postgresql-8.1.4/contrib/tsearch2/tsearch2.sql

....
ERROR: access method "gin" does not exist

This error occurs at the following statement:

CREATE OPERATOR CLASS gin_tsvector_ops
DEFAULT FOR TYPE tsvector USING gin
AS
OPERATOR 1 @@ (tsvector, tsquery),
OPERATOR 2 @@@ (tsvector, tsquery) RECHECK,
FUNCTION 1 bttextcmp(text, text),
FUNCTION 2 gin_extract_tsvector(tsvector,internal),
FUNCTION 3
gin_extract_tsquery(tsquery,internal,internal),
FUNCTION 4
gin_ts_consistent(internal,internal,tsquery),
STORAGE text;

Sanity checks:

1) In PSQL:
select amname from pg_am where amname like '%gin%';
amname
--------
(0 rows)

Hmm. Should I expect this query to return something?

show gin_fuzzy_search_limit;
gin_fuzzy_search_limit
------------------------
0
(1 row)

Thanks for any tips,
Kevin


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 7:58 pm | All times are GMT
navigation Forum index » Databases » PostgreSQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Best method to search kristy420 Oracle 0 Tue Nov 18, 2008 6:34 pm
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:12 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:11 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:10 am
No new posts Bug#379010: ITP: scim-thai -- ITP: scim-thai -- Thai Inpu... Theppitak Karoonboonyanan devel 0 Thu Jul 20, 2006 3:30 pm

Mortgage Calculator | Loans | Buy PSP | Personal Loans | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3388s ][ Queries: 16 (0.2596s) ][ GZIP on - Debug on ]