From: | "Andy Shellam" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk> |
---|---|
To: | "Dave Page" <dpage(at)postgresql(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Show NULL values AS <NULL> not working |
Date: | 2008-01-14 23:29:03 |
Message-ID: | 33671a790801141529j151f0604y75d4b7769aa67461@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi Dave
Ah right OK, I didn't realise the "Query" tab was just for SQL editor, I
thought it was for the data entry grids as well.
Thanks for clearing that up.
> instead I had to do:
> >
> > "SELECT COALESCE(first_invalid, '1900-01-01') AS first_invalid FROM
> table"
> >
> > to prove the column is in fact NULL, and I do get: "1900-01-01
> 00:00:00+00"
> > for this record, but in the data entry grid, PgAdmin still displays it
> > blank.
>
> That doesn't prove it's null - it proves it's null OR 1900-01-01
> 00:00:00+00. However, the <NULL> output option is onlt for the Query
> Tool. The data entry grid always displays an empty cell for NULL, ''
> for a blank string, and \'\' for a pair or single quotes. From the
> docs:
I knew it was NULL cause the table only had 1 row in it, and I'd purposely
set it to NULL through a query ;-)
Andy
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2008-01-15 08:52:18 | Re: Show NULL values AS <NULL> not working |
Previous Message | Dave Page | 2008-01-14 22:58:09 | Re: Show NULL values AS <NULL> not working |