Re: [GENERAL] C: extending text search: from where to start

2010-01-20 Thread Ivan Sergio Borgonovo
On Tue, 19 Jan 2010 10:12:21 +0100
Dimitri Fontaine dfonta...@hi-media.com wrote:

 Ivan Sergio Borgonovo m...@webthatworks.it writes:
  I'd appreciate any pointer that will quickly put me on the right
  track.
 
 I'd guess you begin here:
   http://wiki.postgresql.org/wiki/Developer_FAQ

With the exception of formatting style info I didn't find anything
useful there.

Right now I'm reading:
http://www.postgresql.org/docs/8.3/static/xfunc-c.html
There is just an example on how to build up the data returned but it
uses C string. I couldn't find an example that uses TupleDesc
BlessTupleDesc.

I'm installing deb contrib source package.

Any other resource that will help me to write my own contrib?


thanks

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] C: extending text search: from where to start

2010-01-20 Thread Dimitri Fontaine
Ivan Sergio Borgonovo m...@webthatworks.it writes:
 Any other resource that will help me to write my own contrib?

You could try out the following, but it deals a lot with GiST specifics…

  http://wiki.postgresql.org/wiki/Image:Prato_2008_prefix.pdf

Regards,
-- 
dim

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] C: extending text search: from where to start

2010-01-19 Thread Dimitri Fontaine
Ivan Sergio Borgonovo m...@webthatworks.it writes:
 I'd appreciate any pointer that will quickly put me on the right
 track.

I'd guess you begin here:
  http://wiki.postgresql.org/wiki/Developer_FAQ

-- 
dim

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[GENERAL] C: extending text search: from where to start

2010-01-18 Thread Ivan Sergio Borgonovo
I'd like to extend full text search so that I can transform tvectors
in tquery and have direct access to a tvector as a record/array.

I'm on Debian.

This is my first experience with pg source code.
I'd appreciate any pointer that will quickly put me on the right
track.

thanks

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general