Thread: Validation rules

Validation rules

From
Robert Morgan
Date:
Hi, I have a postgresql database with a web interface and I need to
check that the data being entered is valid for the field. I am using PHP
for scripting, are there any postgres functions for creating validation
rules that I could use.

Hope this is clear enough

Bob


Re: Validation rules

From
joseph speigle
Date:
you can write your own but you would have to learn plpgsql which is a server-side sql on-top-of sql languages.  Can you
givean example?  In brief, it may be faster to use php as you may be more familiar with that than with pl/pgsql . 

On Wed, Apr 28, 2004 at 10:53:58AM +1200, Robert Morgan wrote:
> Hi, I have a postgresql database with a web interface and I need to
> check that the data being entered is valid for the field. I am using PHP
> for scripting, are there any postgres functions for creating validation
> rules that I could use.
>
> Hope this is clear enough
>
> Bob
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org

--
joe speigle
www.sirfsup.com