diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
| commit | 52f77df613cea1803ce86321c37229626d9f213c (patch) | |
| tree | bd9ac9f667f295cb65f4c448a5bb5a062d656b27 /src/backend/catalog/pg_aggregate.c | |
| parent | db4518729d85da83eafdacbcebaeb12618517595 (diff) | |
| download | postgresql-52f77df613cea1803ce86321c37229626d9f213c.tar.gz | |
Ye-old pgindent run. Same 4-space tabs.
Diffstat (limited to 'src/backend/catalog/pg_aggregate.c')
| -rw-r--r-- | src/backend/catalog/pg_aggregate.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/backend/catalog/pg_aggregate.c b/src/backend/catalog/pg_aggregate.c index 5554752bf3..79d796ab49 100644 --- a/src/backend/catalog/pg_aggregate.c +++ b/src/backend/catalog/pg_aggregate.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.30 2000/03/26 19:43:58 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.31 2000/04/12 17:14:56 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -168,7 +168,7 @@ AggregateCreate(char *aggName, /* handle finalfn */ if (aggfinalfnName) { - int nargs = 0; + int nargs = 0; if (OidIsValid(xret1)) fnArgs[nargs++] = xret1; @@ -184,7 +184,7 @@ AggregateCreate(char *aggName, { if (nargs == 2) elog(ERROR, "AggregateCreate: '%s'('%s','%s') does not exist", - aggfinalfnName, aggtransfn1typeName, aggtransfn2typeName); + aggfinalfnName, aggtransfn1typeName, aggtransfn2typeName); else if (OidIsValid(xret1)) elog(ERROR, "AggregateCreate: '%s'('%s') does not exist", aggfinalfnName, aggtransfn1typeName); @@ -200,8 +200,10 @@ AggregateCreate(char *aggName, } else { - /* If no finalfn, aggregate result type is type of the sole - * state value (we already checked there is only one) + + /* + * If no finalfn, aggregate result type is type of the sole state + * value (we already checked there is only one) */ if (OidIsValid(xret1)) fret = xret1; @@ -284,9 +286,9 @@ AggNameGetInitVal(char *aggName, Oid basetype, int xfuncno, bool *isNull) Assert(xfuncno == 1 || xfuncno == 2); /* - * since we will have to use fastgetattr (in case one or both init vals - * are NULL), we will need to open the relation. Do that first to - * ensure we don't get a stale tuple from the cache. + * since we will have to use fastgetattr (in case one or both init + * vals are NULL), we will need to open the relation. Do that first + * to ensure we don't get a stale tuple from the cache. */ aggRel = heap_openr(AggregateRelationName, AccessShareLock); |
