Re: Override PostgreSQL internal functions

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: Override PostgreSQL internal functions
Дата
Msg-id 530DC7F6.3000202@dalibo.com
обсуждение исходный текст
Ответ на Override PostgreSQL internal functions  (Sameer Kumar <sameer.kumar@ashnik.com>)
Ответы Re: Override PostgreSQL internal functions
Список pgsql-novice
On 02/26/2014 10:36 AM, Sameer Kumar wrote:
Is there a way I can override (not overload) PostgreSQL internal functions e.g. replace()?

By default replace() will replace string based on case sensitivity. I want to override this behavior and make it case insensitive.

You would be much better off to use the citext extension and typing your columns appropriately.

http://www.postgresql.org/docs/current/static/citext.html
-- 
Vik

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

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Override PostgreSQL internal functions
Следующее
От: samcoffey
Дата:
Сообщение: Re: Connection rejected: could not fork new process for connection: Unknown error