pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Typo fix in src/backend/catalog/README
2+ messages / 2 participants
[nested] [flat]

* Typo fix in src/backend/catalog/README
@ 2014-01-27 05:22  Amit Langote <amitlangote09@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Amit Langote @ 2014-01-27 05:22 UTC (permalink / raw)
  To: pgsql-hackers

Hi,

There is a possible typo in src/backend/catalog/README and the
attached fixes it.

--
Amit

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachments:

backend-catalog-README-typo.diff (text/plain, 791B) download diff --git a/src/backend/catalog/README b/src/backend/catalog/README index fce01ea..7e0ddf3 100644 --- a/src/backend/catalog/README +++ b/src/backend/catalog/README @@ -92,7 +92,7 @@ them. Thus, the variable-length fields must all be at the end, and only the variable-length fields of a catalog tuple are permitted to be NULL. For example, if you set pg_type.typrelid to be NULL, a piece of code will likely perform "typetup->typrelid" (or, worse, -"typetyp->typelem", which follows typrelid). This will result in +"typetup->typelem", which follows typrelid). This will result in random errors or even segmentation violations. Hence, do NOT insert catalog tuples that contain NULL attributes except in their variable-length portions! (The bootstrapping code is fairly good about
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: Typo fix in src/backend/catalog/README
@ 2014-01-27 07:33  Heikki Linnakangas <hlinnakangas@vmware.com>
  parent: Amit Langote <amitlangote09@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2014-01-27 07:33 UTC (permalink / raw)
  To: Amit Langote <amitlangote09@gmail.com>; +Cc: pgsql-hackers

On 01/27/2014 07:22 AM, Amit Langote wrote:
> There is a possible typo in src/backend/catalog/README and the
> attached fixes it.

Thanks, fixed.

- Heikki


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-01-27 07:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 05:22 Typo fix in src/backend/catalog/README Amit Langote <amitlangote09@gmail.com>
2014-01-27 07:33 ` Heikki Linnakangas <hlinnakangas@vmware.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox