is there any defect when use null column in postgresql?

Started by leopayabout 17 years ago4 messagesgeneral
Jump to latest
#1leopay
leopay@gmail.com

I wanna if there is any defact when use null column in pg,
e.g. performance issue

#2Scott Marlowe
scott.marlowe@gmail.com
In reply to: leopay (#1)
Re: is there any defect when use null column in postgresql?

On Sun, Mar 15, 2009 at 9:00 PM, leopay <leopay@gmail.com> wrote:

I wanna if there is any defact when use null column in pg,
e.g. performance issue

none that I know of. Any more specific scenarios you're wondering about?

#3leopay
leopay@gmail.com
In reply to: Scott Marlowe (#2)
Re: is there any defect when use null column in postgresql?

On Mon, Mar 16, 2009 at 11:36 AM, Scott Marlowe <scott.marlowe@gmail.com>wrote:

On Sun, Mar 15, 2009 at 9:00 PM, leopay <leopay@gmail.com> wrote:

I wanna if there is any defact when use null column in pg,
e.g. performance issue

none that I know of. Any more specific scenarios you're wondering about?

when do the query, the column contain none value could use the index?

#4Scott Marlowe
scott.marlowe@gmail.com
In reply to: leopay (#3)
Re: is there any defect when use null column in postgresql?

On Sun, Mar 15, 2009 at 9:39 PM, leopay <leopay@gmail.com> wrote:

On Mon, Mar 16, 2009 at 11:36 AM, Scott Marlowe <scott.marlowe@gmail.com>
wrote:

On Sun, Mar 15, 2009 at 9:00 PM, leopay <leopay@gmail.com> wrote:

I wanna if there is any defact when use null column in pg,
e.g. performance issue

none that I know of.  Any more specific scenarios you're wondering about?

when do the query, the column contain none value could use the index?

Older versions, no, modern versions yes. When that changed, I don't
know, as I'm running only 8.3 anymore.