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
a95a82e7
Commit
a95a82e7
authored
Oct 06, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uppercase SQL keywords in query for clarity.
parent
d7b7a4a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+4
-4
No files found.
src/bin/pg_dump/pg_dump.c
View file @
a95a82e7
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.38
6 2004/08/29 05:06:53
momjian Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.38
7 2004/10/06 17:43:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1395,15 +1395,15 @@ dumpBlobs(Archive *AH, void *arg)
/* Cursor to get all BLOB tables */
if
(
AH
->
remoteVersion
>=
70100
)
appendPQExpBuffer
(
oidQry
,
"D
eclare blobOid Cursor for
SELECT DISTINCT loid FROM pg_largeobject"
);
appendPQExpBuffer
(
oidQry
,
"D
ECLARE bloboid CURSOR FOR
SELECT DISTINCT loid FROM pg_largeobject"
);
else
appendPQExpBuffer
(
oidQry
,
"D
eclare blobOid Cursor for
SELECT oid from pg_class where relkind = 'l'"
);
appendPQExpBuffer
(
oidQry
,
"D
ECLARE bloboid CURSOR FOR
SELECT oid from pg_class where relkind = 'l'"
);
res
=
PQexec
(
g_conn
,
oidQry
->
data
);
check_sql_result
(
res
,
g_conn
,
oidQry
->
data
,
PGRES_COMMAND_OK
);
/* Fetch for cursor */
appendPQExpBuffer
(
oidFetchQry
,
"F
etch %d in blobO
id"
,
loFetchSize
);
appendPQExpBuffer
(
oidFetchQry
,
"F
ETCH %d IN blobo
id"
,
loFetchSize
);
do
{
...
...
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