mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Clean up comments to be careful about the distinction between variable-
width types and varlena types, since with the introduction of CSTRING as a more-or-less-real type, these concepts aren't identical. I've tried to use varlena consistently to denote datatypes with typlen = -1, ie, they have a length word and are potentially TOASTable; while the term variable width covers both varlena and cstring (and, perhaps, someday other types with other rules for computing the actual width). No code changes in this commit except for renaming a couple macros.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1995, Regents of the University of California
|
||||
*
|
||||
* $Id: postgres.h,v 1.59 2002/08/10 20:29:18 momjian Exp $
|
||||
* $Id: postgres.h,v 1.60 2002/08/25 17:20:01 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -30,14 +30,15 @@
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
* In general, this file should contain declarations that are widely needed in the
|
||||
* backend environment, but are of no interest outside the backend.
|
||||
* In general, this file should contain declarations that are widely needed
|
||||
* in the backend environment, but are of no interest outside the backend.
|
||||
*
|
||||
* Simple type definitions live in c.h, where they are shared with postgres_fe.h.
|
||||
* We do that since those type definitions are needed by frontend modules that want
|
||||
* to deal with binary data transmission to or from the backend. Type definitions
|
||||
* in this file should be for representations that never escape the backend, such
|
||||
* as Datum or TOASTed varlena objects.
|
||||
* Simple type definitions live in c.h, where they are shared with
|
||||
* postgres_fe.h. We do that since those type definitions are needed by
|
||||
* frontend modules that want to deal with binary data transmission to or
|
||||
* from the backend. Type definitions in this file should be for
|
||||
* representations that never escape the backend, such as Datum or
|
||||
* TOASTed varlena objects.
|
||||
*
|
||||
*----------------------------------------------------------------
|
||||
*/
|
||||
@ -54,7 +55,8 @@
|
||||
*/
|
||||
|
||||
/* ----------------
|
||||
* struct varattrib is the header of a varlena object that may have been TOASTed.
|
||||
* struct varattrib is the header of a varlena object that may have been
|
||||
* TOASTed.
|
||||
* ----------------
|
||||
*/
|
||||
#define TUPLE_TOASTER_ACTIVE
|
||||
|
Reference in New Issue
Block a user