Re: Should we consider empty fields as NULL values when dealing with string columns ? - Mailing list pgsql-general

From Rod K
Subject Re: Should we consider empty fields as NULL values when dealing with string columns ?
Date
Msg-id KNEPILBLIADCDMMPIKIKAEIGDMAA.rod@23net.net
Whole thread Raw
In response to Should we consider empty fields as NULL values when dealing with string columns ?  ("Nagib Abi Fadel" <nagib.abi-fadel@usj.edu.lb>)
List pgsql-general
The rest of your post was answered, but I'll add the following.  You should set your error_reporting level higher, so you are warned if you are referencing an unassigned variable.  There is something wrong with your script if you aren't validating data.
When using script languages (like PHP) if by mistake the variable is not defined such insert is possible (let's say we have a variable $col1_value and after a long day of work we make a mistake and write it $col_value).

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: did not find '}' at end of input node (again)
Next
From: "Jeff Cave"
Date:
Subject: Re: Any commercial shopping cart packages using postgresql?