Re-pgindent src/bin/pg_dump/*.

Seems to have gotten rather messy lately, as a consequence of a couple
of large recent commits.
This commit is contained in:
Tom Lane 2014-10-17 12:19:05 -04:00
parent 389573fd19
commit 7584649a1c
7 changed files with 64 additions and 59 deletions

View File

@ -1331,7 +1331,8 @@ readMessageFromPipe(int fd)
static int
pgpipe(int handles[2])
{
pgsocket s, tmp_sock;
pgsocket s,
tmp_sock;
struct sockaddr_in serv_addr;
int len = sizeof(serv_addr);

View File

@ -2156,7 +2156,8 @@ dumpDatabase(Archive *fout, DumpOptions *dopt)
*collate,
*ctype,
*tablespace;
uint32 frozenxid, minmxid;
uint32 frozenxid,
minmxid;
datname = PQdb(conn);
@ -2338,7 +2339,8 @@ dumpDatabase(Archive *fout, DumpOptions *dopt)
PGresult *lo_res;
PQExpBuffer loFrozenQry = createPQExpBuffer();
PQExpBuffer loOutQry = createPQExpBuffer();
int i_relfrozenxid, i_relminmxid;
int i_relfrozenxid,
i_relminmxid;
/*
* pg_largeobject
@ -2762,7 +2764,9 @@ getRowSecurity(Archive *fout, TableInfo tblinfo[], int numTables)
int i_rsecroles;
int i_rsecqual;
int i_rsecwithcheck;
int i, j, ntups;
int i,
j,
ntups;
if (fout->remoteVersion < 90500)
return;
@ -2783,9 +2787,9 @@ getRowSecurity(Archive *fout, TableInfo tblinfo[], int numTables)
tbinfo->dobj.name);
/*
* Get row-security enabled information for the table.
* We represent RLS enabled on a table by creating RowSecurityInfo
* object with an empty policy.
* Get row-security enabled information for the table. We represent
* RLS enabled on a table by creating RowSecurityInfo object with an
* empty policy.
*/
if (tbinfo->rowsec)
{
@ -2909,8 +2913,8 @@ dumpRowSecurity(Archive *fout, DumpOptions *dopt, RowSecurityInfo *rsinfo)
/*
* If rsecpolname is NULL, then this record is just indicating that ROW
* LEVEL SECURITY is enabled for the table.
* Dump as ALTER TABLE <table> ENABLE ROW LEVEL SECURITY.
* LEVEL SECURITY is enabled for the table. Dump as ALTER TABLE <table>
* ENABLE ROW LEVEL SECURITY.
*/
if (rsinfo->rsecpolname == NULL)
{