Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68c23cb

Browse files
committed
Improve consistency of comments in system catalog headers.
Use the term "system catalog" rather than "system relation" in assortedplaces where it's clearly referring to a table rather than, say, anindex. Use more natural word order in the header boilerplate, improvesome of the one-liner catalog descriptions, and fix assorted randomdeviations from the normal boilerplate. All purely neatnik-ism, butwhy not.John Naylor, some additional cleanup by meDiscussion:https://postgr.es/m/CAJVSVGUeJmFB3h-NJ18P32NPa+kzC165nm7GSoGHfPaN80Wxcw@mail.gmail.com
1 parente5d8399 commit68c23cb

File tree

87 files changed

+136
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+136
-97
lines changed

‎src/backend/catalog/genbki.pl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@ sub gen_pg_attribute
535535
{
536536
my$table =$catalogs{$table_name};
537537

538-
# Currently, allbootstrapped relations also need schemapg.h
539-
# entries, so skip ifthe relation isn't to be in schemapg.h.
538+
# Currently, allbootstrap catalogs also need schemapg.h
539+
# entries, so skip ifit isn't to be in schemapg.h.
540540
nextif !$table->{schema_macro};
541541

542542
$schemapg_entries{$table_name} = [];
@@ -769,7 +769,7 @@ sub form_pg_type_symbol
769769
{
770770
my$typename =shift;
771771

772-
# Skip for rowtypes of bootstraptables, since they have their
772+
# Skip for rowtypes of bootstrapcatalogs, since they have their
773773
# own naming convention defined elsewhere.
774774
return
775775
if$typenameeq'pg_type'

‎src/include/catalog/pg_aggregate.dat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#----------------------------------------------------------------------
22
#
33
# pg_aggregate.dat
4-
# Initial contents of the pg_aggregate systemrelation.
4+
# Initial contents of the pg_aggregate systemcatalog.
55
#
66
# Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California

‎src/include/catalog/pg_aggregate.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* pg_aggregate.h
4-
* definition of thesystem"aggregate"relation (pg_aggregate)
4+
* definition of the "aggregate"system catalog (pg_aggregate)
55
*
66
*
77
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group

‎src/include/catalog/pg_am.dat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#----------------------------------------------------------------------
22
#
33
# pg_am.dat
4-
# Initial contents of the pg_am systemrelation.
4+
# Initial contents of the pg_am systemcatalog.
55
#
66
# Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California

‎src/include/catalog/pg_am.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* pg_am.h
4-
* definition of thesystem"access method"relation (pg_am)
4+
* definition of the "access method"system catalog (pg_am)
55
*
66
*
77
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group

‎src/include/catalog/pg_amop.dat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#----------------------------------------------------------------------
22
#
33
# pg_amop.dat
4-
# Initial contents of the pg_amop systemrelation.
4+
# Initial contents of the pg_amop systemcatalog.
55
#
66
# Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California

‎src/include/catalog/pg_amop.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* pg_amop.h
4-
* definition of thesystem "amop" relation (pg_amop)
4+
* definition of the"access method operator" system catalog (pg_amop)
55
*
66
* The amop table identifies the operators associated with each index operator
77
* family and operator class (classes are subsets of families). An associated

‎src/include/catalog/pg_amproc.dat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#----------------------------------------------------------------------
22
#
33
# pg_amproc.dat
4-
# Initial contents of the pg_amproc systemrelation.
4+
# Initial contents of the pg_amproc systemcatalog.
55
#
66
# Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California

‎src/include/catalog/pg_amproc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* pg_amproc.h
4-
* definition of thesystem "amproc" relation (pg_amproc)
4+
* definition of the"access method procedure" system catalog (pg_amproc)
55
*
66
* The amproc table identifies support procedures associated with index
77
* operator families and classes. These procedures can't be listed in pg_amop

‎src/include/catalog/pg_attrdef.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*-------------------------------------------------------------------------
22
*
33
* pg_attrdef.h
4-
* definition of thesystem"attribute defaults"relation (pg_attrdef)
4+
* definition of the "attribute defaults"system catalog (pg_attrdef)
55
*
66
*
77
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp