| From: | Margarita Barvinok <brita(at)umich(dot)edu> |
|---|---|
| To: | Ivo Simicevic <ivo(at)ultra(dot)hr> |
| Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-interfaces(at)postgresql(dot)org |
| Subject: | Re: [INTERFACES] Not Null Field |
| Date: | 1999-09-22 13:22:10 |
| Message-ID: | Pine.SOL.4.10.9909220918320.20041-100000@qbert.rs.itd.umich.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Ivo, I think you are right. I inserted empty strings.
Thank you for reply.
-Margarita
On Mon, 20 Sep 1999, Ivo Simicevic wrote:
> On Mon, Sep 20, 1999 at 11:34:42AM -0400, Margarita Barvinok wrote:
> > If I try to insert NULL values into those fields from psql I got an error
> > message - that is right.
> > But when I insert records from my C-program (with embedded SQL) I dot no
> > errors and such records are added to the table. I even can insert empty
> > record. Why this happens? Do I need to write some code to check NULL
> > values?
> >
> > Thank you,
> > -Margarita
>
> How are you doing it? Can you send your source?
> I guess you are not entering NULL but empty string values.
>
> Ivo.
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tim Joyce | 1999-09-22 14:08:18 | ResultSet.getDate |
| Previous Message | Tim Joyce | 1999-09-22 12:33:39 | ResultSet.getDate |