Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
cf835f97
Commit
cf835f97
authored
25 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Add comments for attdisbursion field --- NO code change.
parent
30da344c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/catalog/pg_attribute.h
+17
-16
17 additions, 16 deletions
src/include/catalog/pg_attribute.h
with
17 additions
and
16 deletions
src/include/catalog/pg_attribute.h
+
17
−
16
View file @
cf835f97
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_attribute.h,v 1.4
7
1999/0
5/25 16:13:42 momjian
Exp $
* $Id: pg_attribute.h,v 1.4
8
1999/0
7/31 19:07:25 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -40,10 +40,9 @@
*/
CATALOG
(
pg_attribute
)
BOOTSTRAP
{
Oid
attrelid
;
Oid
attrelid
;
/* OID of relation containing this attribute */
NameData
attname
;
Oid
atttypid
;
/*
* atttypid is the OID of the instance in Catalog Class pg_type that
* defines the data type of this attribute (e.g. int4). Information
...
...
@@ -51,16 +50,21 @@ CATALOG(pg_attribute) BOOTSTRAP
* attalign attributes of this instance, so they had better match or
* Postgres will fail.
*/
float4
attdisbursion
;
int2
attlen
;
/*
* attdisbursion is the disbursion statistic of the column, or zero if
* the statistic has not been calculated.
*/
int2
attlen
;
/*
* attlen is a copy of the typlen field from pg_type for this
* attribute. See atttypid above. See struct Form_pg_type for
* definition.
*/
int2
attnum
;
int2
attnum
;
/*
* attnum is the "attribute number" for the attribute: A value that
* uniquely identifies this attribute within its class. For user
...
...
@@ -74,28 +78,27 @@ CATALOG(pg_attribute) BOOTSTRAP
*
* Note that (attnum - 1) is often used as the index to an array.
*/
int4
attnelems
;
int4
att
cacheoff
;
int4
att
nelems
;
/* number of dimensions, if an array type */
int4
attcacheoff
;
/*
* fastgetattr() uses attcacheoff to cache byte offsets of attributes
* in heap tuples. The
data
actually stored in pg_attribute (-1)
* in heap tuples. The
value
actually stored in pg_attribute (-1)
* indicates no cached value. But when we copy these tuples into a
* tuple descriptor, we may then update attcacheoff in the copies.
* This speeds up the attribute walking process.
*/
int4
atttypmod
;
/*
* atttypmod records type-specific modifications supplied at table
* creation time, and passes it to input and output functions as the
* third argument.
* atttypmod records type-specific data supplied at table creation time
* (for example, the max length of a varchar field). It is passed to
* type-specific input and output functions as the third argument.
* The value will generally be -1 for types that do not need typmod.
*/
bool
attbyval
;
/*
* attbyval is a copy of the typbyval field from pg_type for this
* attribute. See atttypid above. See struct Form_pg_type for
...
...
@@ -103,17 +106,15 @@ CATALOG(pg_attribute) BOOTSTRAP
*/
bool
attisset
;
char
attalign
;
/*
* attalign is a copy of the typalign field from pg_type for this
* attribute. See atttypid above. See struct Form_pg_type for
* definition.
*/
bool
attnotnull
;
bool
attnotnull
;
/* This flag represents the "NOT NULL" constraint */
bool
atthasdef
;
/* Has DEFAULT value or not */
}
FormData_pg_attribute
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment