Re: Does having a NULL column automatically exclude the table from the tupleDesc cache?

From: Ryan Murphy <ryanfmurphy(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Does having a NULL column automatically exclude the table from the tupleDesc cache?
Date: 2017-02-15 17:24:14
Message-ID: CAHeEsBcx-v+JmsWuXMnCdnVduhuavtYiHpLhj=Kwab0MCm65Hw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> No, that tests whether the particular tuple contains any null fields, not
> whether the whole table is declared NOT NULL.
>
> regards, tom lane
>

Ok, thanks, that makes sense.

My question kind of remains though - does that mean that having any nulls
in the tuple loses the ability to use the tupleDesc cache? and how much of
a performance impact is this? I'm sure there's a good reason why you can't
really use the cache if you have a null column, just was curious of the
implications. Thanks again!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-02-15 17:24:44 Re: Should we cacheline align PGXACT?
Previous Message Tom Lane 2017-02-15 17:16:46 Re: Does having a NULL column automatically exclude the table from the tupleDesc cache?