Thread: Bug #552: src/backend/catalog/README

Bug #552: src/backend/catalog/README

From
pgsql-bugs@postgresql.org
Date:
Holger Krug (hkrug@rationalizer.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
src/backend/catalog/README

Long Description
src/backend/catalog/README:

tuples are in fact present.  That is, only the variable-length
portions of a catalog tuple are assumed to be permitted to be
>>>non-NULL<<<.  For example, if you set pg_type.typdelim to be NULL, a
piece of code will likely perform "typetup->typdelim" (or, worse,

Should be `NULL' in all places !!

Sample Code


No file was uploaded with this report

Re: Bug #552: src/backend/catalog/README

From
Bruce Momjian
Date:
Thanks.  README updated with "NULL".

---------------------------------------------------------------------------

pgsql-bugs@postgresql.org wrote:
> Holger Krug (hkrug@rationalizer.com) reports a bug with a severity of 3
> The lower the number the more severe it is.
>
> Short Description
> src/backend/catalog/README
>
> Long Description
> src/backend/catalog/README:
>
> tuples are in fact present.  That is, only the variable-length
> portions of a catalog tuple are assumed to be permitted to be
> >>>non-NULL<<<.  For example, if you set pg_type.typdelim to be NULL, a
> piece of code will likely perform "typetup->typdelim" (or, worse,
>
> Should be `NULL' in all places !!
>
> Sample Code
>
>
> No file was uploaded with this report
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026