Re: [GENERAL] Build in function to verify email addresses

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [GENERAL] Build in function to verify email addresses
Дата
Msg-id CAFj8pRDK5VyD295foQVfQiqmv+AbuL0O2Sot5T2pnAotizC3ww@mail.gmail.com
обсуждение исходный текст
Ответ на [GENERAL] Build in function to verify email addresses  (Nick Dro <postgresql@walla.co.il>)
Ответы Re: [GENERAL] Build in function to verify email addresses
Список pgsql-general
Hi

2017-11-16 8:56 GMT+01:00 Nick Dro <postgresql@walla.co.il>:
I beleieve that every information system has the needs to send emails.
Currently PostgreSQL doesn't have a function which gets TEXT and return true if it's valid email address (xxx@YYY.com / .co.ZZ)
Do you believe such function should exist in PostgreSQL or it's best to let every user to implement his own function?

I don't think so this functionality should be in upstream - but it is good use for some extension and placing it in PGXN or PostgreSQL community repository.

Postgres has good regexp support and this case can be implemented by one regexp.

you can use PLPerlu and use some modules from CPAN


Regards

Pavel


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

Предыдущее
От: Nick Dro
Дата:
Сообщение: [GENERAL] Build in function to verify email addresses
Следующее
От: Chris Withers
Дата:
Сообщение: Re: [GENERAL] Build in function to verify email addresses