mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Add typdefs to pgindent run.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.31 1997/09/08 02:22:03 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.32 1997/09/08 20:55:19 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -775,7 +775,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE * fp, char *delim)
|
||||
#endif /* OMIT_PARTIAL_INDEX */
|
||||
}
|
||||
FormIndexDatum(indexNatts[i],
|
||||
(AttrNumber *) & (pgIndexP[i]->indkey[0]),
|
||||
(AttrNumber *) &(pgIndexP[i]->indkey[0]),
|
||||
tuple,
|
||||
tupDesc,
|
||||
InvalidBuffer,
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.14 1997/09/08 02:22:08 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.15 1997/09/08 20:55:25 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -46,10 +46,10 @@ CheckPredExpr(Node * predicate, List * rangeTable,
|
||||
static void
|
||||
CheckPredClause(Expr * predicate, List * rangeTable, Oid baseRelOid);
|
||||
static void
|
||||
FuncIndexArgs(IndexElem * funcIndex, AttrNumber * attNumP,
|
||||
FuncIndexArgs(IndexElem * funcIndex, AttrNumber *attNumP,
|
||||
Oid * argTypes, Oid * opOidP, Oid relId);
|
||||
static void
|
||||
NormIndexAttrs(List * attList, AttrNumber * attNumP,
|
||||
NormIndexAttrs(List * attList, AttrNumber *attNumP,
|
||||
Oid * opOidP, Oid relId);
|
||||
static char *GetDefaultOpClass(Oid atttypid);
|
||||
|
||||
@ -422,7 +422,7 @@ CheckPredClause(Expr * predicate, List * rangeTable, Oid baseRelOid)
|
||||
|
||||
static void
|
||||
FuncIndexArgs(IndexElem * funcIndex,
|
||||
AttrNumber * attNumP,
|
||||
AttrNumber *attNumP,
|
||||
Oid * argTypes,
|
||||
Oid * opOidP,
|
||||
Oid relId)
|
||||
@ -471,7 +471,7 @@ FuncIndexArgs(IndexElem * funcIndex,
|
||||
|
||||
static void
|
||||
NormIndexAttrs(List * attList, /* list of IndexElem's */
|
||||
AttrNumber * attNumP,
|
||||
AttrNumber *attNumP,
|
||||
Oid * opOidP,
|
||||
Oid relId)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.12 1997/09/08 02:22:13 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.13 1997/09/08 20:55:27 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -398,7 +398,7 @@ RemoveFunction(char *functionName, /* function name to be removed */
|
||||
ReleaseBuffer(buffer);
|
||||
bufferUsed = FALSE;
|
||||
}
|
||||
tup = heap_getnext(scan, 0, (Buffer *) & buffer);
|
||||
tup = heap_getnext(scan, 0, (Buffer *) &buffer);
|
||||
if (!HeapTupleIsValid(tup))
|
||||
break;
|
||||
bufferUsed = TRUE;
|
||||
|
@ -61,7 +61,7 @@ typedef SeqTableData *SeqTable;
|
||||
static SeqTable seqtab = NULL;
|
||||
|
||||
static SeqTable init_sequence(char *caller, char *name);
|
||||
static SequenceTupleForm read_info(char *caller, SeqTable elm, Buffer * buf);
|
||||
static SequenceTupleForm read_info(char *caller, SeqTable elm, Buffer *buf);
|
||||
static void init_params(CreateSeqStmt * seq, SequenceTupleForm new);
|
||||
static int get_param(DefElem * def);
|
||||
|
||||
@ -323,7 +323,7 @@ currval(struct varlena * seqin)
|
||||
}
|
||||
|
||||
static SequenceTupleForm
|
||||
read_info(char *caller, SeqTable elm, Buffer * buf)
|
||||
read_info(char *caller, SeqTable elm, Buffer *buf)
|
||||
{
|
||||
ItemPointerData iptr;
|
||||
PageHeader page;
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.44 1997/09/08 02:22:17 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.45 1997/09/08 20:55:34 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1224,7 +1224,7 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
|
||||
{
|
||||
FormIndexDatum(
|
||||
idcur->natts,
|
||||
(AttrNumber *) & (idcur->tform->indkey[0]),
|
||||
(AttrNumber *) &(idcur->tform->indkey[0]),
|
||||
newtup,
|
||||
tupdesc,
|
||||
InvalidBuffer,
|
||||
@ -1949,7 +1949,7 @@ vc_updstats(Oid relid, int npages, int ntups, bool hasindex, VRelStats * vacrels
|
||||
if (VacAttrStatsLtGtValid(stats) && stats->initialized /* &&
|
||||
* !IsSystemRelationName(
|
||||
*
|
||||
pgcform->relname.data) */ )
|
||||
pgcform->relname.data) */ )
|
||||
{
|
||||
func_ptr out_function;
|
||||
char *out_string;
|
||||
|
Reference in New Issue
Block a user