Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
26905e00
Commit
26905e00
authored
Jan 13, 2016
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run pgindent on src/bin/pg_dump/*
To ease doing indent fixups on a couple of patches I have in progress.
parent
b1bfb28b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/bin/pg_dump/dumputils.h
src/bin/pg_dump/dumputils.h
+2
-2
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+3
-3
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_dumpall.c
+2
-2
No files found.
src/bin/pg_dump/dumputils.h
View file @
26905e00
...
@@ -38,8 +38,8 @@ typedef struct SimpleOidList
...
@@ -38,8 +38,8 @@ typedef struct SimpleOidList
typedef
struct
SimpleStringListCell
typedef
struct
SimpleStringListCell
{
{
struct
SimpleStringListCell
*
next
;
struct
SimpleStringListCell
*
next
;
bool
touched
;
/* true, when this string was searche
d
bool
touched
;
/* true, when this string was searched an
d
and
touched */
*
touched */
char
val
[
FLEXIBLE_ARRAY_MEMBER
];
/* null-terminated string here */
char
val
[
FLEXIBLE_ARRAY_MEMBER
];
/* null-terminated string here */
}
SimpleStringListCell
;
}
SimpleStringListCell
;
...
...
src/bin/pg_dump/pg_dump.c
View file @
26905e00
...
@@ -1216,8 +1216,8 @@ expand_table_name_patterns(Archive *fout,
...
@@ -1216,8 +1216,8 @@ expand_table_name_patterns(Archive *fout,
query
=
createPQExpBuffer
();
query
=
createPQExpBuffer
();
/*
/*
* this might sometimes result in duplicate entries in the OID list,
* this might sometimes result in duplicate entries in the OID list,
but
*
but
we don't care.
* we don't care.
*/
*/
for
(
cell
=
patterns
->
head
;
cell
;
cell
=
cell
->
next
)
for
(
cell
=
patterns
->
head
;
cell
;
cell
=
cell
->
next
)
...
...
src/bin/pg_dump/pg_dumpall.c
View file @
26905e00
...
@@ -1415,8 +1415,8 @@ dumpCreateDB(PGconn *conn)
...
@@ -1415,8 +1415,8 @@ dumpCreateDB(PGconn *conn)
else
if
(
strcmp
(
dbtablespace
,
"pg_default"
)
!=
0
&&
!
no_tablespaces
)
else
if
(
strcmp
(
dbtablespace
,
"pg_default"
)
!=
0
&&
!
no_tablespaces
)
{
{
/*
/*
* Cannot change tablespace of the database we're connected to,
* Cannot change tablespace of the database we're connected to,
so
*
so
to move "postgres" to another tablespace, we connect to
* to move "postgres" to another tablespace, we connect to
* "template1", and vice versa.
* "template1", and vice versa.
*/
*/
if
(
strcmp
(
dbname
,
"postgres"
)
==
0
)
if
(
strcmp
(
dbname
,
"postgres"
)
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment