mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.6 1997/09/07 04:41:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.7 1997/09/08 02:22:18 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* At the point the version is defined, 2 physical relations are created
|
||||
@@ -34,10 +34,10 @@
|
||||
|
||||
#define MAX_QUERY_LEN 1024
|
||||
|
||||
char rule_buf[MAX_QUERY_LEN];
|
||||
char rule_buf[MAX_QUERY_LEN];
|
||||
|
||||
#ifdef NOT_USED
|
||||
static char attr_list[MAX_QUERY_LEN];
|
||||
static char attr_list[MAX_QUERY_LEN];
|
||||
|
||||
#endif
|
||||
|
||||
@@ -105,9 +105,9 @@ eval_as_new_xact(char *query)
|
||||
void
|
||||
DefineVersion(char *name, char *fromRelname, char *date)
|
||||
{
|
||||
char *bname;
|
||||
static char saved_basename[512];
|
||||
static char saved_snapshot[512];
|
||||
char *bname;
|
||||
static char saved_basename[512];
|
||||
static char saved_snapshot[512];
|
||||
|
||||
if (date == NULL)
|
||||
{
|
||||
@@ -148,7 +148,7 @@ DefineVersion(char *name, char *fromRelname, char *date)
|
||||
void
|
||||
VersionCreate(char *vname, char *bname)
|
||||
{
|
||||
static char query_buf[MAX_QUERY_LEN];
|
||||
static char query_buf[MAX_QUERY_LEN];
|
||||
|
||||
/*
|
||||
* Creating the dummy version relation for triggering rules.
|
||||
@@ -184,12 +184,12 @@ VersionCreate(char *vname, char *bname)
|
||||
static void
|
||||
setAttrList(char *bname)
|
||||
{
|
||||
Relation rdesc;
|
||||
int i = 0;
|
||||
int maxattrs = 0;
|
||||
char *attrname;
|
||||
char temp_buf[512];
|
||||
int notfirst = 0;
|
||||
Relation rdesc;
|
||||
int i = 0;
|
||||
int maxattrs = 0;
|
||||
char *attrname;
|
||||
char temp_buf[512];
|
||||
int notfirst = 0;
|
||||
|
||||
rdesc = heap_openr(bname);
|
||||
if (rdesc == NULL)
|
||||
|
Reference in New Issue
Block a user