1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Used modified version of indent that understands over 100 typedefs.

This commit is contained in:
Bruce Momjian
1997-09-08 21:56:23 +00:00
parent 075cede748
commit 59f6a57e59
413 changed files with 4472 additions and 4460 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.16 1997/09/08 20:56:53 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.17 1997/09/08 21:47:48 momjian Exp $
*
* NOTES
* See acl.h.
@@ -582,7 +582,7 @@ int32
pg_func_ownercheck(char *usename,
char *funcname,
int nargs,
Oid * arglist)
Oid *arglist)
{
HeapTuple htp;
AclId user_id,

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.44 1997/09/08 02:29:48 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.45 1997/09/08 21:47:51 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -146,7 +146,7 @@ typedef struct frontend
FILE *fn_Pfout; /* the output fd */
bool fn_done; /* set after the frontend closes its
* connection */
} FrontEnd;
} FrontEnd;
static Dllist *frontendList;
@@ -397,9 +397,9 @@ ReadCommand(char *inBuf, bool multiplexedBackend)
List *
pg_plan(char *query_string, /* string to execute */
Oid * typev, /* argument types */
Oid *typev, /* argument types */
int nargs, /* number of arguments */
QueryTreeList ** queryListP, /* pointer to the parse trees */
QueryTreeList **queryListP, /* pointer to the parse trees */
CommandDest dest) /* where results should go */
{
QueryTreeList *querytree_list;
@@ -646,7 +646,7 @@ pg_plan(char *query_string, /* string to execute */
*/
void
pg_eval(char *query_string, char **argv, Oid * typev, int nargs)
pg_eval(char *query_string, char **argv, Oid *typev, int nargs)
{
pg_eval_dest(query_string, argv, typev, nargs, whereToSendOutput);
}
@@ -654,7 +654,7 @@ pg_eval(char *query_string, char **argv, Oid * typev, int nargs)
void
pg_eval_dest(char *query_string,/* string to execute */
char **argv, /* arguments */
Oid * typev, /* argument types */
Oid *typev, /* argument types */
int nargs, /* number of arguments */
CommandDest dest) /* where results should go */
{
@@ -1385,7 +1385,7 @@ PostgresMain(int argc, char *argv[])
if (IsUnderPostmaster == false)
{
puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.44 $ $Date: 1997/09/08 02:29:48 $");
puts("$Revision: 1.45 $ $Date: 1997/09/08 21:47:51 $");
}
/* ----------------

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.9 1997/09/08 02:29:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.10 1997/09/08 21:47:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -39,7 +39,7 @@
#include "commands/command.h"
static char *CreateOperationTag(int operationType);
static void ProcessQueryDesc(QueryDesc * queryDesc);
static void ProcessQueryDesc(QueryDesc *queryDesc);
/* ----------------------------------------------------------------
@@ -47,8 +47,8 @@ static void ProcessQueryDesc(QueryDesc * queryDesc);
* ----------------------------------------------------------------
*/
QueryDesc *
CreateQueryDesc(Query * parsetree,
Plan * plantree,
CreateQueryDesc(Query *parsetree,
Plan *plantree,
CommandDest dest)
{
QueryDesc *qd = (QueryDesc *) palloc(sizeof(QueryDesc));
@@ -150,9 +150,9 @@ CreateOperationTag(int operationType)
void
ProcessPortal(char *portalName,
Query * parseTree,
Plan * plan,
EState * state,
Query *parseTree,
Plan *plan,
EState *state,
TupleDesc attinfo,
CommandDest dest)
{
@@ -203,7 +203,7 @@ ProcessPortal(char *portalName,
* ----------------------------------------------------------------
*/
static void
ProcessQueryDesc(QueryDesc * queryDesc)
ProcessQueryDesc(QueryDesc *queryDesc)
{
Query *parseTree;
Plan *plan;
@@ -355,16 +355,16 @@ ProcessQueryDesc(QueryDesc * queryDesc)
*/
void
ProcessQuery(Query * parsetree,
Plan * plan,
ProcessQuery(Query *parsetree,
Plan *plan,
char *argv[],
Oid * typev,
Oid *typev,
int nargs,
CommandDest dest)
{
QueryDesc *queryDesc;
extern int dontExecute; /* from postgres.c */
extern void print_plan(Plan * p, Query * parsetree); /* from print.c */
extern void print_plan(Plan *p, Query *parsetree); /* from print.c */
queryDesc = CreateQueryDesc(parsetree, plan, dest);

View File

@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.23 1997/09/08 02:29:50 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.24 1997/09/08 21:47:58 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -75,7 +75,7 @@
* ----------------
*/
void
ProcessUtility(Node * parsetree,
ProcessUtility(Node *parsetree,
CommandDest dest)
{
char *commandTag = NULL;
@@ -330,6 +330,7 @@ ProcessUtility(Node * parsetree,
CHECK_IF_ABORTED();
aip = stmt->aclitem;
modechg = stmt->modechg;
#ifndef NO_SECURITY
foreach(i, stmt->relNames)

View File

@@ -2,7 +2,7 @@
* Routines for handling of 'SET var TO', 'SHOW var' and 'RESET var'
* statements.
*
* $Id: variable.c,v 1.15 1997/09/08 02:29:52 momjian Exp $
* $Id: variable.c,v 1.16 1997/09/08 21:47:59 momjian Exp $
*
*/
@@ -402,9 +402,9 @@ reset_date()
struct VariableParsers
{
const char *name;
bool(*parser) (const char *);
bool(*show) ();
bool(*reset) ();
bool (*parser) (const char *);
bool (*show) ();
bool (*reset) ();
} VariableParsers[] =
{