Spliting a string in plpgsql

Поиск
Список
Период
Сортировка
От Jasbinder Singh Bali
Тема Spliting a string in plpgsql
Дата
Msg-id a47902760705080944sf043e8dp992b6a46571106e4@mail.gmail.com
обсуждение исходный текст
Ответы Re: Spliting a string in plpgsql  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-general
Hi,
I'm writing a function in plpgsql and i need to do the following:

I have a string in the following format.

mail.yahoo.com

In this string, i need to figure out the number of dots in it and split the string into two
on last but one dot.

Is there any way to accomplish this.
Please let me know

Thanks
~Jas

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?
Следующее
От: Sean Murphy
Дата:
Сообщение: Idle session timeout?