Re: Issue is changing _bt_compare function and

Поиск
Список
Период
Сортировка
От sandeep satpal
Тема Re: Issue is changing _bt_compare function and
Дата
Msg-id Pine.LNX.4.63.0510081238570.4363@akash.it.iitb.ac.in
обсуждение исходный текст
Ответ на Re: Issue is changing _bt_compare function and  (Neil Conway <neilc@samurai.com>)
Ответы Re: Issue is changing _bt_compare function and  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Issue is changing _bt_compare function and  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hello,
Sorry for last mail.
I hope this time I will explain my doubt more clearly.

The _bt_compare function in "nbtree.c" file calls "FunctionCall2" and it 
passes two arguments , one is the scankey which we want to search on and 
other  key is on current b-tree node.

My problem is I want to pass three parameter and the third argument will 
be used for taking decision during comparision that whether I want 
case-sensitive comparision or case-insensitive.

But "initdb" also uses the same _bt_compare function for creating its own 
indexes.
For eg. when we write /usr/pgsql/bin/initdb -D /usr/local/data
And my modification may create problems.
How I solve this ??
Hope this time I had explained in more clear way...
thanx,

-- 
------------------
| Sandeep Satpal |
| M.Tech Student |
| Lab 212 KReSIT |
------------------


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Reuse the dead item on unique index.
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [GENERAL] Shell script to extract a table from a plain text dump