Search Postgresql Archives

Re: Postgre RAISE NOTICE and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Clemens" == Clemens Schwaighofer <clemens_schwaighofer@xxxxxxxxxxx> writes:

Clemens> I am not going to defend any regex here, but in my opinion it helps on
Clemens> what I want to see in email addresses.
Clemens> Yes it fails on mobile, but I have not yet seen one.

And that's the problem.  You get near-sighted if you put up a strong
validation for only things that *you* have seen.  Because, guess what,
nobody outside your narrow view can sign up or be a customer.

Bad for business.

Clemens>  Probably the best
Clemens> thing is to test nothing at all. Just accept it ...

Exactly!  If you don't want to use the 950-character regex, DON'T DO
ANYTHING AT ALL.  Far simpler.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux