Re: Postgre RAISE NOTICE and PHP

From: merlyn(at)stonehenge(dot)com (Randal L(dot) Schwartz)
To: Clemens Schwaighofer <clemens_schwaighofer(at)e-gra(dot)co(dot)jp>
Cc: Andre Lopes <lopes80andre(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgre RAISE NOTICE and PHP
Date: 2009-08-20 00:32:07
Message-ID: 86fxbn1g1k.fsf@blue.stonehenge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "Clemens" == Clemens Schwaighofer <clemens_schwaighofer(at)e-gra(dot)co(dot)jp> 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(at)stonehenge(dot)com> <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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-08-20 02:33:10 Re: Problem with bacula and 8.3/8.4
Previous Message Greg Smith 2009-08-20 00:27:31 Re: Stock Market Price Data & postgreSQL? HELLPPP Please