Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e4704001
Commit
e4704001
authored
Mar 10, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This patch fixes a bunch of spelling mistakes in comments throughout the
PostgreSQL source code. Neil Conway
parent
081fa240
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
64 changed files
with
149 additions
and
149 deletions
+149
-149
contrib/dbase/dbf2pg.c
contrib/dbase/dbf2pg.c
+1
-1
contrib/fulltextindex/fti.c
contrib/fulltextindex/fti.c
+1
-1
contrib/fuzzystrmatch/fuzzystrmatch.c
contrib/fuzzystrmatch/fuzzystrmatch.c
+3
-3
contrib/intagg/int_aggregate.c
contrib/intagg/int_aggregate.c
+2
-2
contrib/intarray/_int.c
contrib/intarray/_int.c
+4
-4
contrib/ltree/ltxtquery_io.c
contrib/ltree/ltxtquery_io.c
+1
-1
contrib/oid2name/oid2name.c
contrib/oid2name/oid2name.c
+1
-1
contrib/pgcrypto/random.c
contrib/pgcrypto/random.c
+2
-2
contrib/spi/moddatetime.c
contrib/spi/moddatetime.c
+3
-3
contrib/string/string_io.c
contrib/string/string_io.c
+1
-1
contrib/tablefunc/tablefunc.c
contrib/tablefunc/tablefunc.c
+8
-8
contrib/tsearch/morph.c
contrib/tsearch/morph.c
+1
-1
contrib/tsearch/query.c
contrib/tsearch/query.c
+2
-2
contrib/tsearch/rewrite.c
contrib/tsearch/rewrite.c
+1
-1
src/backend/access/gist/gist.c
src/backend/access/gist/gist.c
+3
-3
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashovfl.c
+2
-2
src/backend/access/hash/hashstrat.c
src/backend/access/hash/hashstrat.c
+2
-2
src/backend/access/transam/xact.c
src/backend/access/transam/xact.c
+3
-3
src/backend/commands/comment.c
src/backend/commands/comment.c
+4
-4
src/backend/port/beos/sem.c
src/backend/port/beos/sem.c
+4
-4
src/backend/utils/adt/formatting.c
src/backend/utils/adt/formatting.c
+8
-8
src/backend/utils/adt/name.c
src/backend/utils/adt/name.c
+2
-2
src/backend/utils/adt/pg_lzcompress.c
src/backend/utils/adt/pg_lzcompress.c
+4
-4
src/backend/utils/adt/varlena.c
src/backend/utils/adt/varlena.c
+2
-2
src/backend/utils/mb/conv.c
src/backend/utils/mb/conv.c
+2
-2
src/backend/utils/mb/encnames.c
src/backend/utils/mb/encnames.c
+3
-3
src/backend/utils/mb/mbutils.c
src/backend/utils/mb/mbutils.c
+5
-5
src/backend/utils/misc/database.c
src/backend/utils/misc/database.c
+2
-2
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.c
+3
-3
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+2
-2
src/bin/psql/common.c
src/bin/psql/common.c
+2
-2
src/bin/psql/stringutils.c
src/bin/psql/stringutils.c
+2
-2
src/include/catalog/pg_am.h
src/include/catalog/pg_am.h
+2
-2
src/include/catalog/pg_amop.h
src/include/catalog/pg_amop.h
+2
-2
src/include/catalog/pg_attrdef.h
src/include/catalog/pg_attrdef.h
+2
-2
src/include/catalog/pg_attribute.h
src/include/catalog/pg_attribute.h
+2
-2
src/include/catalog/pg_class.h
src/include/catalog/pg_class.h
+2
-2
src/include/catalog/pg_constraint.h
src/include/catalog/pg_constraint.h
+2
-2
src/include/catalog/pg_database.h
src/include/catalog/pg_database.h
+2
-2
src/include/catalog/pg_description.h
src/include/catalog/pg_description.h
+3
-3
src/include/catalog/pg_group.h
src/include/catalog/pg_group.h
+2
-2
src/include/catalog/pg_index.h
src/include/catalog/pg_index.h
+2
-2
src/include/catalog/pg_inherits.h
src/include/catalog/pg_inherits.h
+2
-2
src/include/catalog/pg_language.h
src/include/catalog/pg_language.h
+2
-2
src/include/catalog/pg_largeobject.h
src/include/catalog/pg_largeobject.h
+2
-2
src/include/catalog/pg_listener.h
src/include/catalog/pg_listener.h
+2
-2
src/include/catalog/pg_opclass.h
src/include/catalog/pg_opclass.h
+2
-2
src/include/catalog/pg_operator.h
src/include/catalog/pg_operator.h
+2
-2
src/include/catalog/pg_proc.h
src/include/catalog/pg_proc.h
+2
-2
src/include/catalog/pg_rewrite.h
src/include/catalog/pg_rewrite.h
+2
-2
src/include/catalog/pg_statistic.h
src/include/catalog/pg_statistic.h
+2
-2
src/include/catalog/pg_trigger.h
src/include/catalog/pg_trigger.h
+1
-1
src/include/catalog/pg_version.h
src/include/catalog/pg_version.h
+2
-2
src/include/commands/comment.h
src/include/commands/comment.h
+1
-1
src/include/port/solaris.h
src/include/port/solaris.h
+2
-2
src/include/storage/off.h
src/include/storage/off.h
+2
-2
src/interfaces/ecpg/include/sqlca.h
src/interfaces/ecpg/include/sqlca.h
+1
-1
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/ecpg/preproc/ecpg.c
+2
-2
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.c
+2
-2
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+2
-2
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-exec.c
+3
-3
src/interfaces/libpq/libpq-fe.h
src/interfaces/libpq/libpq-fe.h
+2
-2
src/interfaces/python/pgmodule.c
src/interfaces/python/pgmodule.c
+1
-1
src/pl/plpython/plpython.c
src/pl/plpython/plpython.c
+3
-3
No files found.
contrib/dbase/dbf2pg.c
View file @
e4704001
...
...
@@ -199,7 +199,7 @@ usage(void)
}
/* patch submitted by Jeffrey Y. Sue <jysue@aloha.net> */
/* Provides functional
l
ity for substituting dBase-fieldnames for others */
/* Provides functionality for substituting dBase-fieldnames for others */
/* Mainly for avoiding conflicts between fieldnames and SQL-reserved */
/* keywords */
...
...
contrib/fulltextindex/fti.c
View file @
e4704001
...
...
@@ -83,7 +83,7 @@
* nothing in it, then re-populate the fti-table)
*
* can we do something with operator overloading or a seperate function
* that can build the final query automa
tig
ally?
* that can build the final query automa
gic
ally?
*/
#define MAX_FTI_QUERY_LENGTH 8192
...
...
contrib/fuzzystrmatch/fuzzystrmatch.c
View file @
e4704001
...
...
@@ -76,7 +76,7 @@ levenshtein(PG_FUNCTION_ARGS)
/*
* Restrict the length of the strings being compared to something
* reasonable because we will have to perform rows * cols
* calcu
al
tions. If longer strings need to be compared, increase
* calcu
la
tions. If longer strings need to be compared, increase
* MAX_LEVENSHTEIN_STRLEN to suit (but within your tolerance for speed
* and memory usage).
*/
...
...
@@ -250,7 +250,7 @@ metaphone(PG_FUNCTION_ARGS)
*------------------------------------------------------------------*/
/* I suppose I could have been using a character pointer instead of
* access
s
ing the array directly... */
* accessing the array directly... */
/* Look at the next letter in the word */
#define Next_Letter (toupper((unsigned char) word[w_idx+1]))
...
...
@@ -421,7 +421,7 @@ _metaphone(
w_idx
++
)
{
/*
* How many letters to skip because an ear
il
er encoding handled
* How many letters to skip because an ear
li
er encoding handled
* multiple letters
*/
unsigned
short
int
skip_letter
=
0
;
...
...
contrib/intagg/int_aggregate.c
View file @
e4704001
...
...
@@ -191,7 +191,7 @@ int_agg_state(PG_FUNCTION_ARGS)
}
/* This is the final function used for the integer aggregator. It returns all the integers
* collected as a one dimen
t
ional integer array */
* collected as a one dimen
s
ional integer array */
Datum
int_agg_final_array
(
PG_FUNCTION_ARGS
)
{
...
...
@@ -225,7 +225,7 @@ int_enum(PG_FUNCTION_ARGS)
/* Allocate a working context */
pc
=
(
CTX
*
)
palloc
(
sizeof
(
CTX
));
/* Don't copy atribute if you don't need too */
/* Don't copy at
t
ribute if you don't need too */
if
(
VARATT_IS_EXTENDED
(
p
))
{
/* Toasted!!! */
...
...
contrib/intarray/_int.c
View file @
e4704001
...
...
@@ -133,7 +133,7 @@ typedef ArrayType *(*formarray) (ArrayType *, ArrayType *);
typedef
void
(
*
formfloat
)
(
ArrayType
*
,
float
*
);
/*
** useful
l
function
** useful function
*/
static
bool
isort
(
int4
*
a
,
const
int
len
);
static
ArrayType
*
new_intArrayType
(
int
num
);
...
...
@@ -446,7 +446,7 @@ g_int_decompress(PG_FUNCTION_ARGS)
lenin
=
ARRNELEMS
(
in
);
if
(
lenin
<
2
*
MAXNUMRANGE
||
ISLEAFKEY
(
in
))
{
/* not comressed value */
{
/* not com
p
ressed value */
if
(
in
!=
(
ArrayType
*
)
DatumGetPointer
(
entry
->
key
))
{
retval
=
palloc
(
sizeof
(
GISTENTRY
));
...
...
@@ -1642,7 +1642,7 @@ typedef struct
char
*
buf
;
int4
state
;
int4
count
;
/* reverse polish notation in list (for temp
r
orary usage) */
/* reverse polish notation in list (for temporary usage) */
NODE
*
str
;
/* number in str */
int4
num
;
...
...
@@ -1747,7 +1747,7 @@ pushquery(WORKSTATE * state, int4 type, int4 val)
#define STACKDEPTH 16
/*
* make polish notaion of query
* make polish nota
t
ion of query
*/
static
int4
makepol
(
WORKSTATE
*
state
)
...
...
contrib/ltree/ltxtquery_io.c
View file @
e4704001
...
...
@@ -38,7 +38,7 @@ typedef struct
char
*
buf
;
int4
state
;
int4
count
;
/* reverse polish notation in list (for temp
r
orary usage) */
/* reverse polish notation in list (for temporary usage) */
NODE
*
str
;
/* number in str */
int4
num
;
...
...
contrib/oid2name/oid2name.c
View file @
e4704001
...
...
@@ -50,7 +50,7 @@ void sql_exec_dumptable(PGconn *, int);
void
sql_exec_searchtable
(
PGconn
*
,
const
char
*
);
void
sql_exec_searchoid
(
PGconn
*
,
int
);
/* fuction to parse command line options and check for some usage errors. */
/* fu
n
ction to parse command line options and check for some usage errors. */
void
get_opts
(
int
argc
,
char
**
argv
,
struct
options
*
my_opts
)
{
...
...
contrib/pgcrypto/random.c
View file @
e4704001
...
...
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: random.c,v 1.
5 2001/11/05 17:46:23 momjian
Exp $
* $Id: random.c,v 1.
6 2003/03/10 22:28:17 tgl
Exp $
*/
...
...
@@ -115,7 +115,7 @@ px_get_random_bytes(uint8 *dst, unsigned count)
/*
* OpenSSL random should re-feeded occasionally. From /dev/urandom
* prefer
r
ably.
* preferably.
*/
res
=
RAND_bytes
(
dst
,
count
);
...
...
contrib/spi/moddatetime.c
View file @
e4704001
...
...
@@ -2,7 +2,7 @@
moddatetime.c
What is this?
It is a function to be called from a trigger for the p
e
rpose of updating
It is a function to be called from a trigger for the p
u
rpose of updating
a modification datetime stamp in a record when that record is UPDATEd.
Credits
...
...
@@ -70,14 +70,14 @@ moddatetime(PG_FUNCTION_ARGS)
Int32GetDatum
(
-
1
));
/*
* This gets the position in the tu
r
ple of the field we want. args[0]
* This gets the position in the tuple of the field we want. args[0]
* being the name of the field to update, as passed in from the
* trigger.
*/
attnum
=
SPI_fnumber
(
tupdesc
,
args
[
0
]);
/*
* This is were we check to see if the f
eild we are suppost
to update
* This is were we check to see if the f
ield we are supposed
to update
* even exits. The above function must return -1 if name not found?
*/
if
(
attnum
<
0
)
...
...
contrib/string/string_io.c
View file @
e4704001
...
...
@@ -166,7 +166,7 @@ string_output(unsigned char *data, int size)
*
* This function accepts a C string in input and copies it into a new
* object allocated with palloc() translating all escape sequences.
* An optional header can be allocatd before the string, for example
* An optional header can be allocat
e
d before the string, for example
* to hold the length of a varlena object.
* This function is not necessary for input from sql commands because
* the parser already does escape translation, all data input routines
...
...
contrib/tablefunc/tablefunc.c
View file @
e4704001
...
...
@@ -44,7 +44,7 @@ static bool compatCrosstabTupleDescs(TupleDesc tupdesc1, TupleDesc tupdesc2);
static
bool
compatConnectbyTupleDescs
(
TupleDesc
tupdesc1
,
TupleDesc
tupdesc2
);
static
void
get_normal_pair
(
float8
*
x1
,
float8
*
x2
);
static
TupleDesc
make_crosstab_tupledesc
(
TupleDesc
spi_tupdesc
,
int
num_cat
a
gories
);
int
num_cat
e
gories
);
static
Tuplestorestate
*
connectby
(
char
*
relname
,
char
*
key_fld
,
char
*
parent_key_fld
,
...
...
@@ -373,9 +373,9 @@ crosstab(PG_FUNCTION_ARGS)
elog
(
ERROR
,
"Wrong number of arguments specified for function"
);
else
{
int
num_cat
a
gories
=
PG_GETARG_INT32
(
1
);
int
num_cat
e
gories
=
PG_GETARG_INT32
(
1
);
tupdesc
=
make_crosstab_tupledesc
(
spi_tupdesc
,
num_cat
a
gories
);
tupdesc
=
make_crosstab_tupledesc
(
spi_tupdesc
,
num_cat
e
gories
);
}
}
else
if
(
functyptype
==
'b'
)
...
...
@@ -1034,7 +1034,7 @@ compatCrosstabTupleDescs(TupleDesc ret_tupdesc, TupleDesc sql_tupdesc)
}
static
TupleDesc
make_crosstab_tupledesc
(
TupleDesc
spi_tupdesc
,
int
num_cat
a
gories
)
make_crosstab_tupledesc
(
TupleDesc
spi_tupdesc
,
int
num_cat
e
gories
)
{
Form_pg_attribute
sql_attr
;
Oid
sql_atttypid
;
...
...
@@ -1046,10 +1046,10 @@ make_crosstab_tupledesc(TupleDesc spi_tupdesc, int num_catagories)
/*
* We need to build a tuple description with one column for the
* rowname, and num_cat
a
gories columns for the values. Each must be of
* rowname, and num_cat
e
gories columns for the values. Each must be of
* the same type as the corresponding spi result input column.
*/
natts
=
num_cat
a
gories
+
1
;
natts
=
num_cat
e
gories
+
1
;
tupdesc
=
CreateTemplateTupleDesc
(
natts
,
false
);
/* first the rowname column */
...
...
@@ -1063,11 +1063,11 @@ make_crosstab_tupledesc(TupleDesc spi_tupdesc, int num_catagories)
TupleDescInitEntry
(
tupdesc
,
attnum
,
attname
,
sql_atttypid
,
-
1
,
0
,
false
);
/* now the cat
a
gory values columns */
/* now the cat
e
gory values columns */
sql_attr
=
spi_tupdesc
->
attrs
[
2
];
sql_atttypid
=
sql_attr
->
atttypid
;
for
(
i
=
0
;
i
<
num_cat
a
gories
;
i
++
)
for
(
i
=
0
;
i
<
num_cat
e
gories
;
i
++
)
{
attnum
++
;
...
...
contrib/tsearch/morph.c
View file @
e4704001
...
...
@@ -187,7 +187,7 @@ lemmatize(char *word, int *len, int type)
int
oldlen
=
*
len
;
char
*
newword
=
(
*
(
dict
->
lemmatize
))
(
dictobjs
[
nd
],
word
,
len
);
/* word is recognized by di
s
tionary */
/* word is recognized by di
c
tionary */
if
(
newword
!=
word
||
*
len
!=
oldlen
)
{
if
(
dict
->
is_stemstoplemm
&&
...
...
contrib/tsearch/query.c
View file @
e4704001
...
...
@@ -79,7 +79,7 @@ typedef struct
char
*
buf
;
int4
state
;
int4
count
;
/* reverse polish notation in list (for temp
r
orary usage) */
/* reverse polish notation in list (for temporary usage) */
NODE
*
str
;
/* number in str */
int4
num
;
...
...
@@ -247,7 +247,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval)
#define STACKDEPTH 32
/*
* make polish notaion of query
* make polish nota
t
ion of query
*/
static
int4
makepol
(
QPRS_STATE
*
state
,
void
(
*
pushval
)
(
QPRS_STATE
*
,
int
,
char
*
,
int
))
...
...
contrib/tsearch/rewrite.c
View file @
e4704001
...
...
@@ -116,7 +116,7 @@ freetree(NODE * node)
/*
* clean tree for ! operator.
* It's useful
l
for debug, but in
* It's useful for debug, but in
* other case, such view is used with search in index.
* Operator ! always return TRUE
*/
...
...
src/backend/access/gist/gist.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.10
1 2003/02/24 00:57:17
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/access/gist/gist.c,v 1.10
2 2003/03/10 22:28:18
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -465,7 +465,7 @@ gistlayerinsert(Relation r, BlockNumber blkno,
/*
* After this call: 1. if child page was splited, then itup
* contains keys for each page 2. if child page wasn't splited,
* then itup contains additional for adjust
e
ment of current key
* then itup contains additional for adjustment of current key
*/
ret
=
gistlayerinsert
(
r
,
nblkno
,
itup
,
len
,
res
,
giststate
);
...
...
@@ -551,7 +551,7 @@ gistlayerinsert(Relation r, BlockNumber blkno,
ItemPointerSet
(
&
((
*
res
)
->
pointerData
),
blkno
,
l
);
if
(
*
len
>
1
)
{
/* previos insert ret & SPLITED != 0 */
{
/* previo
u
s insert ret & SPLITED != 0 */
int
i
;
/*
...
...
src/backend/access/hash/hashovfl.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.3
3 2002/06/20 20:29:24 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.3
4 2003/03/10 22:28:18 tgl
Exp $
*
* NOTES
* Overflow pages look like ordinary relation pages.
...
...
@@ -452,7 +452,7 @@ _hash_initbitmap(Relation rel,
/*
* _hash_squeezebucket(rel, bucket)
*
* Try to squeeze the tuples onto pages occuring earlier in the
* Try to squeeze the tuples onto pages occur
r
ing earlier in the
* bucket chain in an attempt to free overflow pages. When we start
* the "squeezing", the page from which we start taking tuples (the
* "read" page) is the last bucket in the bucket chain and the page
...
...
src/backend/access/hash/hashstrat.c
View file @
e4704001
/*-------------------------------------------------------------------------
*
* hashstrat.c
* Srategy map entries for the hash indexed access method
* S
t
rategy map entries for the hash indexed access method
*
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.2
1 2002/06/20 20:29:24 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/hash/Attic/hashstrat.c,v 1.2
2 2003/03/10 22:28:18 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
src/backend/access/transam/xact.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.14
1 2003/01/10 22:03:27 petere
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.14
2 2003/03/10 22:28:18 tgl
Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
...
...
@@ -91,7 +91,7 @@
* CommitTransactionBlock
* AbortTransactionBlock
*
* These are invoked only in respon
c
e to a user "BEGIN WORK", "COMMIT",
* These are invoked only in respon
s
e to a user "BEGIN WORK", "COMMIT",
* or "ROLLBACK" command. The tricky part about these functions
* is that they are called within the postgres main loop, in between
* the StartTransactionCommand() and CommitTransactionCommand().
...
...
@@ -236,7 +236,7 @@ static void *_RollbackData = NULL;
* SetTransactionFlushEnabled()
*
* These are used to test and set the "TransactionFlushState"
* varable. If this variable is true (the default), then
* var
i
able. If this variable is true (the default), then
* the system will flush all dirty buffers to disk at the end
* of each transaction. If false then we are assuming the
* buffer pool resides in stable main memory, in which case we
...
...
src/backend/commands/comment.c
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Copyright (c) 1996-2001, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/comment.c,v 1.6
1 2002/10/09 16:26:46 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/comment.c,v 1.6
2 2003/03/10 22:28:18 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -389,7 +389,7 @@ CommentAttribute(List *qualname, char *comment)
*
* This routine is used to add/drop any user-comments a user might
* have regarding the specified database. The routine will check
* security for owner permissions, and, if succesful, will then
* security for owner permissions, and, if succes
s
ful, will then
* attempt to find the oid of the database specified. Once found,
* a comment is added/dropped using the CreateComments() routine.
*/
...
...
@@ -427,7 +427,7 @@ CommentDatabase(List *qualname, char *comment)
*
* This routine is used to add/drop any user-comments a user might
* have regarding the specified namespace. The routine will check
* security for owner permissions, and, if succesful, will then
* security for owner permissions, and, if succes
s
ful, will then
* attempt to find the oid of the namespace specified. Once found,
* a comment is added/dropped using the CreateComments() routine.
*/
...
...
@@ -579,7 +579,7 @@ CommentRule(List *qualname, char *comment)
* have regarding a TYPE. The type is specified by name
* and, if found, and the user has appropriate permissions, a
* comment will be added/dropped using the CreateComments() routine.
* The type's name and the comments are the paramters to this routine.
* The type's name and the comments are the param
e
ters to this routine.
*/
static
void
CommentType
(
List
*
typename
,
char
*
comment
)
...
...
src/backend/port/beos/sem.c
View file @
e4704001
...
...
@@ -99,7 +99,7 @@ semctl(int semId, int semNum, int flag, union semun semun)
return
1
;
}
/* Get the last pid which accesed the sem */
/* Get the last pid which acces
s
ed the sem */
if
(
flag
==
GETPID
)
{
TRACEDBG
(
"->semctl getpid"
);
...
...
@@ -191,7 +191,7 @@ semget(int semKey, int semNum, int flags)
/* find area */
parea
=
find_area
(
Nom
);
/* Test of area exist
a
nce */
/* Test of area exist
e
nce */
if
(
parea
!=
B_NAME_NOT_FOUND
)
{
/* Area exist and creation is requested, error */
...
...
@@ -221,7 +221,7 @@ semget(int semKey, int semNum, int flags)
/*
* Limit to 250 (8 byte per sem : 4 for the semid and 4 for
* the last pid which acce
c
ed the semaphore in a pool
* the last pid which acce
ss
ed the semaphore in a pool
*/
if
(
semNum
>
250
)
{
...
...
@@ -293,7 +293,7 @@ semop(int semId, struct sembuf * sops, int nsops)
if
(
sops
[
i
].
sem_op
<
0
)
{
/*
* Try ac
uiring the semaphore till we are not intee
rupted by a
* Try ac
quiring the semaphore till we are not inter
rupted by a
* signal
*/
if
(
sops
[
i
].
sem_flg
==
IPC_NOWAIT
)
...
...
src/backend/utils/adt/formatting.c
View file @
e4704001
/* -----------------------------------------------------------------------
* formatting.c
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.5
7 2002/11/08 20:23:56 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.5
8 2003/03/10 22:28:18 tgl
Exp $
*
*
* Portions Copyright (c) 1999-2002, PostgreSQL Global Development Group
...
...
@@ -264,7 +264,7 @@ typedef struct
int
pre
,
/* (count) numbers before decimal */
post
,
/* (count) numbers after decimal */
lsign
,
/* want locales sign */
flag
,
/* number parametrs */
flag
,
/* number paramet
e
rs */
pre_lsign_num
,
/* tmp value for lsign */
multi
,
/* multiplier for 'V' */
zero_start
,
/* position of first zero */
...
...
@@ -488,7 +488,7 @@ static KeySuffix DCH_suff[] = {
* it is not good.
*
* (!)
* - Position for the keyword is sim
u
lar as position in the enum DCH/NUM_poz.
* - Position for the keyword is sim
i
lar as position in the enum DCH/NUM_poz.
* (!)
*
* For fast search is used the 'int index[]', index is ascii table from position
...
...
@@ -776,7 +776,7 @@ static int DCH_index[KeyWord_INDEX_SIZE] = {
/*
0 1 2 3 4 5 6 7 8 9
*/
/*---- first 0..31 chars are skiped ----*/
/*---- first 0..31 chars are skip
p
ed ----*/
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
-
1
,
...
...
@@ -838,9 +838,9 @@ typedef struct NUMProc
read_post
;
/* to_number - number of dec. digit */
char
*
number
,
/* string with number */
*
number_p
,
/* pointer to current number po
z
ition */
*
number_p
,
/* pointer to current number po
s
ition */
*
inout
,
/* in / out buffer */
*
inout_p
,
/* pointer to current inout po
z
ition */
*
inout_p
,
/* pointer to current inout po
s
ition */
*
last_relevant
,
/* last relevant number after decimal
* point */
...
...
@@ -3753,7 +3753,7 @@ NUM_numpart_to_char(NUMProc *Np, int id)
else
{
/*
* Write Deci
n
al point
* Write Deci
m
al point
*/
if
(
*
Np
->
number_p
==
'.'
)
{
...
...
@@ -3934,7 +3934,7 @@ NUM_processor(FormatNode *node, NUMDesc *Num, char *inout, char *number,
{
Np
->
sign_pos
=
Np
->
num_count
+
(
Np
->
num_pre
?
1
:
0
);
if
(
IS_DECIMAL
(
Np
->
Num
))
/* decimal point correctio */
if
(
IS_DECIMAL
(
Np
->
Num
))
/* decimal point correctio
n
*/
++
Np
->
sign_pos
;
}
else
if
(
IS_ZERO
(
Np
->
Num
)
&&
Np
->
num_pre
>
Np
->
Num
->
zero_start
)
...
...
src/backend/utils/adt/name.c
View file @
e4704001
...
...
@@ -12,7 +12,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.4
2 2003/02/09 06:56:2
8 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/name.c,v 1.4
3 2003/03/10 22:28:1
8 tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -46,7 +46,7 @@ namein(PG_FUNCTION_ARGS)
int
len
;
char
*
ermsg
;
/* ver
y
fy encoding */
/* ver
i
fy encoding */
len
=
strlen
(
s
);
if
((
ermsg
=
pg_verifymbstr
(
s
,
len
)))
elog
(
ERROR
,
"%s"
,
ermsg
);
...
...
src/backend/utils/adt/pg_lzcompress.c
View file @
e4704001
/* ----------
* pg_lzcompress.c -
*
* $Header: /cvsroot/pgsql/src/backend/utils/adt/pg_lzcompress.c,v 1.1
6 2002/11/23 03:59:08 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/pg_lzcompress.c,v 1.1
7 2003/03/10 22:28:18 tgl
Exp $
*
* This is an implementation of LZ compression for PostgreSQL.
* It uses a simple history table and generates 2-3 byte tags
...
...
@@ -98,7 +98,7 @@
* makes total limits of 1-4095 for offset and 3-273 for length.
*
* Now that we have successfully decoded a tag. We simply copy
* the output that occured <offset> bytes back to the current
* the output that occur
r
ed <offset> bytes back to the current
* output location in the specified <length>. Thus, a
* sequence of 200 spaces (think about bpchar fields) could be
* coded in 4 bytes. One literal space and a three byte tag to
...
...
@@ -419,7 +419,7 @@ pglz_find_match(PGLZ_HistEntry **hstart, char *input, char *end,
* bytes, it's worth the call overhead to use memcmp() to check if
* this match is equal for the same size. After that we must
* fallback to character by character comparison to know the exact
* position where the diff occured.
* position where the diff occur
r
ed.
*/
thislen
=
0
;
if
(
len
>=
16
)
...
...
@@ -783,7 +783,7 @@ pglz_get_next_decomp_char_from_lzdata(PGLZ_DecompState *dstate)
/*
* This decompression method saves time only, if we stop near the
* beginning of the data (maybe because we're called by a
* comparis
i
on function and a difference occurs early). Otherwise,
* comparison function and a difference occurs early). Otherwise,
* all the checks, needed here, cause too much overhead.
*
* Thus we decompress the entire rest at once into the temporary
...
...
src/backend/utils/adt/varlena.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.9
4 2002/12/06 05:20:17 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/varlena.c,v 1.9
5 2003/03/10 22:28:18 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1663,7 +1663,7 @@ byteacmp(PG_FUNCTION_ARGS)
/*
* replace_text
* replace all occurences of 'old_sub_str' in 'orig_str'
* replace all occur
r
ences of 'old_sub_str' in 'orig_str'
* with 'new_sub_str' to form 'new_str'
*
* returns 'orig_str' if 'old_sub_str' == '' or 'orig_str' == ''
...
...
src/backend/utils/mb/conv.c
View file @
e4704001
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mb/conv.c,v 1.4
3 2002/09/04 20:31:31 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mb/conv.c,v 1.4
4 2003/03/10 22:28:18 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -335,7 +335,7 @@ compare2(const void *p1, const void *p2)
* UTF-8 ---> local code
*
* utf: input UTF-8 string. Its length is limited by "len" parameter
* or a null terminat
e
r.
* or a null terminat
o
r.
* iso: pointer to the output.
* map: the conversion map.
* size: the size of the conversion map.
...
...
src/backend/utils/mb/encnames.c
View file @
e4704001
...
...
@@ -2,7 +2,7 @@
* Encoding names and routines for work with it. All
* in this file is shared bedween FE and BE.
*
* $Id: encnames.c,v 1.1
1 2002/12/05 23:21:07 momjian
Exp $
* $Id: encnames.c,v 1.1
2 2003/03/10 22:28:18 tgl
Exp $
*/
#ifdef FRONTEND
#include "postgres_fe.h"
...
...
@@ -25,7 +25,7 @@
/* ----------
* All encoding names, sorted: *** A L P H A B E T I C ***
*
* All names must be without irrelevan chars, search routines use
* All names must be without irrelevan
t
chars, search routines use
* isalnum() chars only. It means ISO-8859-1, iso_8859-1 and Iso8859_1
* are always converted to 'iso88591'. All must be lower case.
*
...
...
@@ -52,7 +52,7 @@ pg_encname pg_encname_tbl[] =
{
"eucjp"
,
PG_EUC_JP
},
/* EUC-JP; Extended UNIX Code fixed Width
* for Japanese, st
d
andard OSF */
* for Japanese, standard OSF */
{
"euckr"
,
PG_EUC_KR
},
/* EUC-KR; Extended Unix Code for Korean ,
...
...
src/backend/utils/mb/mbutils.c
View file @
e4704001
...
...
@@ -4,7 +4,7 @@
* (currently mule internal code (mic) is used)
* Tatsuo Ishii
*
* $Header: /cvsroot/pgsql/src/backend/utils/mb/mbutils.c,v 1.3
8 2003/02/19 14:31:26 ishii
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mb/mbutils.c,v 1.3
9 2003/03/10 22:28:18 tgl
Exp $
*/
#include "postgres.h"
...
...
@@ -41,7 +41,7 @@ static int cliplen(const unsigned char *str, int len, int limit);
static
bool
need_to_init_client_encoding
=
-
1
;
/*
* Set the client encoding and save fmgrinfo for the converion
* Set the client encoding and save fmgrinfo for the conver
s
ion
* function if necessary. if encoding conversion between client/server
* encoding is not supported, returns -1
*/
...
...
@@ -60,7 +60,7 @@ SetClientEncoding(int encoding, bool doit)
if
(
!
PG_VALID_FE_ENCODING
(
encoding
))
return
(
-
1
);
/* If we cannot actual
y set client encoding info, reme
ber it
/* If we cannot actual
ly set client encoding info, remem
ber it
* so that we could set it using InitializeClientEncoding()
* in InitPostgres()
*/
...
...
@@ -164,7 +164,7 @@ pg_get_client_encoding_name(void)
* warn and returns src. We cannot raise an error, since it will cause
* an infinit loop in error message sending.
*
* In the case of no coversion, src is returned.
* In the case of no co
n
version, src is returned.
*
* XXX We assume that storage for converted result is 4-to-1 growth in
* the worst case. The rate for currently supported encoding pares are within 3
...
...
@@ -281,7 +281,7 @@ pg_convert2(PG_FUNCTION_ARGS)
elog
(
ERROR
,
"Encoding conversion failed"
);
/*
* build text data type structre. we cannot use textin() here, since
* build text data type struct
u
re. we cannot use textin() here, since
* textin assumes that input string encoding is same as database
* encoding.
*/
...
...
src/backend/utils/misc/database.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.5
4 2002/11/08 20:23:57 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.5
5 2003/03/10 22:28:19 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -33,7 +33,7 @@ static bool PhonyHeapTupleSatisfiesNow(HeapTupleHeader tuple);
* pg_database.datpath) to a full absolute path for further consumption.
* NULL means an error, which the caller should process. One reason for
* such an error would be an absolute alternative path when no absolute
* paths are all
l
owed.
* paths are allowed.
*/
char
*
...
...
src/bin/pg_dump/pg_backup_archiver.c
View file @
e4704001
...
...
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.
69 2003/03/09 19:38:52
tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.
70 2003/03/10 22:28:19
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1661,7 +1661,7 @@ _discoverArchiveFormat(ArchiveHandle *AH)
if
(
fseeko
(
fh
,
0
,
SEEK_SET
)
!=
0
)
{
/*
* NOTE: Formats that use the looahead buffer can unset this in
* NOTE: Formats that use the loo
k
ahead buffer can unset this in
* their Init routine.
*/
AH
->
readHeader
=
1
;
...
...
@@ -2030,7 +2030,7 @@ _tocEntryRequired(TocEntry *te, RestoreOptions *ropt)
if
(
ropt
->
dataOnly
)
res
=
res
&
REQ_DATA
;
/* Mask it if we don't have a schema contrib
i
tion */
/* Mask it if we don't have a schema contrib
u
tion */
if
(
!
te
->
defn
||
strlen
(
te
->
defn
)
==
0
)
res
=
res
&
~
REQ_SCHEMA
;
...
...
src/bin/pg_dump/pg_dump.c
View file @
e4704001
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.31
8 2003/02/13 22:56:52
tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.31
9 2003/03/10 22:28:19
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -932,7 +932,7 @@ dumpClasses_nodumpData(Archive *fout, char *oid, void *dctxv)
* select(0, NULL, NULL, NULL, &tvi);
*
* This will return after the interval specified in the structure
* tvi. Fi
a
nally, call gettimeofday again to save the 'last sleep
* tvi. Finally, call gettimeofday again to save the 'last sleep
* time'.
*/
}
...
...
src/bin/psql/common.c
View file @
e4704001
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.5
5 2003/02/21 21:34:27
tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.5
6 2003/03/10 22:28:19
tgl Exp $
*/
#include "postgres_fe.h"
#include "common.h"
...
...
@@ -153,7 +153,7 @@ psql_error(const char *fmt,...)
/*
* for backend Notice mesages (INFO, WARNING, etc)
* for backend Notice mes
s
ages (INFO, WARNING, etc)
*/
void
NoticeProcessor
(
void
*
arg
,
const
char
*
message
)
...
...
src/bin/psql/stringutils.c
View file @
e4704001
...
...
@@ -3,7 +3,7 @@
*
* Copyright 2000-2002 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.3
1 2002/10/19 00:22:14
tgl Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.3
2 2003/03/10 22:28:19
tgl Exp $
*/
#include "postgres_fe.h"
...
...
@@ -39,7 +39,7 @@ static void strip_quotes(char *source, char quote, char escape, int encoding);
* Characters in 'delim', if any, will be returned as single-character
* tokens unless part of a quoted token.
*
* Double occurences of the quoting character are always taken to represent
* Double occur
r
ences of the quoting character are always taken to represent
* a single quote character in the data. If escape isn't 0, then escape
* followed by anything (except \0) is a data character too.
*
...
...
src/include/catalog/pg_am.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_am.h,v 1.2
4 2003/02/22 00:45:05
tgl Exp $
* $Id: pg_am.h,v 1.2
5 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -23,7 +23,7 @@
#define PG_AM_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_amop.h
View file @
e4704001
...
...
@@ -16,7 +16,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_amop.h,v 1.4
6 2002/06/20 20:29:43 momjian
Exp $
* $Id: pg_amop.h,v 1.4
7 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -28,7 +28,7 @@
#define PG_AMOP_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_attrdef.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_attrdef.h,v 1.1
3 2002/07/15 16:33:32
tgl Exp $
* $Id: pg_attrdef.h,v 1.1
4 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_ATTRDEF_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_attribute.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_attribute.h,v 1.10
0 2002/09/22 19:42:51
tgl Exp $
* $Id: pg_attribute.h,v 1.10
1 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -25,7 +25,7 @@
#define PG_ATTRIBUTE_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_class.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_class.h,v 1.7
4 2002/09/22 19:42:52
tgl Exp $
* $Id: pg_class.h,v 1.7
5 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_CLASS_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_constraint.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_constraint.h,v 1.
5 2002/11/15 02:50:10 momjian
Exp $
* $Id: pg_constraint.h,v 1.
6 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_CONSTRAINT_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_database.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_database.h,v 1.2
7 2002/09/03 21:45:43 petere
Exp $
* $Id: pg_database.h,v 1.2
8 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_DATABASE_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_description.h
View file @
e4704001
...
...
@@ -22,7 +22,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_description.h,v 1.1
7 2002/06/20 20:29:44 momjian
Exp $
* $Id: pg_description.h,v 1.1
8 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -37,7 +37,7 @@
#define PG_DESCRIPTION_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
@@ -64,7 +64,7 @@ CATALOG(pg_description) BKI_WITHOUT_OIDS
typedef
FormData_pg_description
*
Form_pg_description
;
/* ----------------
* compiler constants for pg_descr
pi
tion
* compiler constants for pg_descr
ip
tion
* ----------------
*/
#define Natts_pg_description 4
...
...
src/include/catalog/pg_group.h
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_group.h,v 1.1
5 2002/06/20 20:29:44 momjian
Exp $
* $Id: pg_group.h,v 1.1
6 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -19,7 +19,7 @@
#define PG_GROUP_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_index.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_index.h,v 1.
29 2002/09/03 01:04:41
tgl Exp $
* $Id: pg_index.h,v 1.
30 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_INDEX_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_inherits.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_inherits.h,v 1.1
4 2002/06/20 20:29:44 momjian
Exp $
* $Id: pg_inherits.h,v 1.1
5 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_INHERITS_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_language.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_language.h,v 1.2
0 2002/09/04 20:31:37 momjian
Exp $
* $Id: pg_language.h,v 1.2
1 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_LANGUAGE_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_largeobject.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_largeobject.h,v 1.1
3 2002/06/20 20:29:44 momjian
Exp $
* $Id: pg_largeobject.h,v 1.1
4 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_LARGEOBJECT_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_listener.h
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_listener.h,v 1.1
3 2002/06/20 20:29:44 momjian
Exp $
* $Id: pg_listener.h,v 1.1
4 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -19,7 +19,7 @@
#define PG_LISTENER_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_opclass.h
View file @
e4704001
...
...
@@ -26,7 +26,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_opclass.h,v 1.4
6 2002/09/04 20:31:37 momjian
Exp $
* $Id: pg_opclass.h,v 1.4
7 2003/03/10 22:28:19 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -38,7 +38,7 @@
#define PG_OPCLASS_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_operator.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_operator.h,v 1.11
0 2002/09/18 21:35:23
tgl Exp $
* $Id: pg_operator.h,v 1.11
1 2003/03/10 22:28:19
tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -25,7 +25,7 @@
#include "nodes/pg_list.h"
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_proc.h
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_proc.h,v 1.28
5 2003/03/03 03:30:46
tgl Exp $
* $Id: pg_proc.h,v 1.28
6 2003/03/10 22:28:20
tgl Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
...
...
@@ -26,7 +26,7 @@
#include "nodes/pg_list.h"
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_rewrite.h
View file @
e4704001
...
...
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_rewrite.h,v 1.
19 2002/06/20 20:29:49 momjian
Exp $
* $Id: pg_rewrite.h,v 1.
20 2003/03/10 22:28:21 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -23,7 +23,7 @@
#define PG_REWRITE_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_statistic.h
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_statistic.h,v 1.1
8 2002/09/04 20:31:42 momjian
Exp $
* $Id: pg_statistic.h,v 1.1
9 2003/03/10 22:28:21 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -20,7 +20,7 @@
#define PG_STATISTIC_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_trigger.h
View file @
e4704001
...
...
@@ -16,7 +16,7 @@
#define PG_TRIGGER_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/catalog/pg_version.h
View file @
e4704001
...
...
@@ -15,7 +15,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_version.h,v 1.1
5 2002/06/20 20:29:49 momjian
Exp $
* $Id: pg_version.h,v 1.1
6 2003/03/10 22:28:21 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -27,7 +27,7 @@
#define PG_VERSION_H
/* ----------------
* postgres.h contains the system type defini
n
tions and the
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
* can be read by both genbki.sh and the C compiler.
* ----------------
...
...
src/include/commands/comment.h
View file @
e4704001
...
...
@@ -17,7 +17,7 @@
/*------------------------------------------------------------------
* Function Prototypes --
*
* The following protoypes define the public functions of the comment
* The following proto
t
ypes define the public functions of the comment
* related routines. CommentObject() implements the SQL "COMMENT ON"
* command. DeleteComments() deletes all comments for an object.
* CreateComments creates (or deletes, if comment is NULL) a comment
...
...
src/include/port/solaris.h
View file @
e4704001
/* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.
7 2001/11/05 17:46:35 momjian
Exp $ */
/* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.
8 2003/03/10 22:28:21 tgl
Exp $ */
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
/*
* Sort this out for all operting systems some time. The __xxx
* Sort this out for all oper
a
ting systems some time. The __xxx
* symbols are defined on both GCC and Solaris CC, although GCC
* doesn't document them. The __xxx__ symbols are only on GCC.
*/
...
...
src/include/storage/off.h
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: off.h,v 1.1
4 2002/06/20 20:29:52 momjian
Exp $
* $Id: off.h,v 1.1
5 2003/03/10 22:28:21 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -46,7 +46,7 @@ typedef uint16 OffsetNumber;
* OffsetNumberPrev
* Increments/decrements the argument. These macros look pointless
* but they help us disambiguate the different manipulations on
* OffsetNumbers (e.g., sometimes we sub
s
tract one from an
* OffsetNumbers (e.g., sometimes we subtract one from an
* OffsetNumber to move back, and sometimes we do so to form a
* real C array index).
*/
...
...
src/interfaces/ecpg/include/sqlca.h
View file @
e4704001
...
...
@@ -43,7 +43,7 @@ struct sqlca
/* stored into a host variable. */
/*
* 2: if 'W' a (hopefully) non-fatal notice occured
* 2: if 'W' a (hopefully) non-fatal notice occur
r
ed
*/
/* 3: empty */
/* 4: empty */
/* 5: empty */
...
...
src/interfaces/ecpg/preproc/ecpg.c
View file @
e4704001
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.6
0 2003/02/14 13:17:13 meskes
Exp $ */
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.6
1 2003/03/10 22:28:21 tgl
Exp $ */
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
/* Placed under the same license as Postgre
s
SQL */
/* Placed under the same license as PostgreSQL */
#include "postgres_fe.h"
...
...
src/interfaces/libpq/fe-auth.c
View file @
e4704001
...
...
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.7
3 2003/01/29 01:1
8:21 tgl Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.7
4 2003/03/10 22:2
8:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -270,7 +270,7 @@ pg_an_to_ln(char *aname)
/*
* Various krb5 state which is not connection specfic, and a flag to
* Various krb5 state which is not connection spec
i
fic, and a flag to
* indicate whether we have initialised it yet.
*/
static
int
pg_krb5_initialised
;
...
...
src/interfaces/libpq/fe-connect.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.22
4 2003/02/19 14:31:26 ishii
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.22
5 2003/03/10 22:28:21 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -210,7 +210,7 @@ char *PasswordFromFile(char *hostname, char *port, char *dbname,
* If it is desired to connect in a synchronous (blocking) manner, use the
* function PQconnectdb.
*
* To connect in an asychronous (non-blocking) manner, use the functions
* To connect in an asy
n
chronous (non-blocking) manner, use the functions
* PQconnectStart, and PQconnectPoll.
*
* Internally, the static functions connectDBStart, connectDBComplete
...
...
src/interfaces/libpq/fe-exec.c
View file @
e4704001
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.12
5 2003/02/19 03:59:02 momjian
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.12
6 2003/03/10 22:28:21 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -787,7 +787,7 @@ PQsendQuery(PGconn *conn, const char *query)
/*
* give the data a push, ignore the return value as ConsumeInput()
* will do any aditional flushing if needed
* will do any ad
d
itional flushing if needed
*/
pqFlush
(
conn
);
}
...
...
@@ -1448,7 +1448,7 @@ PQexec(PGconn *conn, const char *query)
pqCatenateResultError
(
lastResult
,
result
->
errMsg
);
PQclear
(
result
);
result
=
lastResult
;
/* Make sure PQerrorMessage agrees with catenated result */
/* Make sure PQerrorMessage agrees with c
onc
atenated result */
resetPQExpBuffer
(
&
conn
->
errorMessage
);
appendPQExpBufferStr
(
&
conn
->
errorMessage
,
result
->
errMsg
);
}
...
...
src/interfaces/libpq/libpq-fe.h
View file @
e4704001
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-fe.h,v 1.8
7 2002/11/10 00:14:22 momjian
Exp $
* $Id: libpq-fe.h,v 1.8
8 2003/03/10 22:28:22 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -264,7 +264,7 @@ extern void PQfreeNotify(PGnotify *notify);
extern
int
PQsendQuery
(
PGconn
*
conn
,
const
char
*
query
);
extern
PGresult
*
PQgetResult
(
PGconn
*
conn
);
/* Routines for managing an asychronous query */
/* Routines for managing an asy
n
chronous query */
extern
int
PQisBusy
(
PGconn
*
conn
);
extern
int
PQconsumeInput
(
PGconn
*
conn
);
...
...
src/interfaces/python/pgmodule.c
View file @
e4704001
...
...
@@ -1498,7 +1498,7 @@ pgconnect(pgobject * self, PyObject * args, PyObject * dict)
return
NULL
;
#ifdef DEFAULT_VARS
/* handles defaults variables (for unintialised vars) */
/* handles defaults variables (for unin
i
tialised vars) */
if
((
!
pghost
)
&&
(
pg_default_host
!=
Py_None
))
pghost
=
PyString_AsString
(
pg_default_host
);
...
...
src/pl/plpython/plpython.c
View file @
e4704001
...
...
@@ -29,7 +29,7 @@
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.3
0 2003/02/13 23:06:15
tgl Exp $
* $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.3
1 2003/03/10 22:28:22
tgl Exp $
*
*********************************************************************
*/
...
...
@@ -644,8 +644,8 @@ PLy_modify_tuple(PLyProcedure * proc, PyObject * pltd, TriggerData *tdata,
modvalues
,
modnulls
);
/*
* FIXME -- these leak if not explicit
y pfree'd by other elog calls,
* no?
* FIXME -- these leak if not explicit
ly pfree'd by other elog
*
calls,
no?
*/
pfree
(
modattrs
);
pfree
(
modvalues
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment