Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd307c42

Browse files
committed
Fix bug I introduced while cleaning up pg_dump -t/-n patch.
1 parent5f69890 commitd307c42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.443 2006/08/0118:05:04 momjian Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.444 2006/08/0121:05:00 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -193,7 +193,7 @@ main(int argc, char **argv)
193193
{
194194
PQExpBufferquery=createPQExpBuffer();
195195
PGresult*res;
196-
objnameArg*this_obj_name=NULL;
196+
objnameArg*this_obj_name,*schemaList_tail=NULL,*tableList_tail=NULL;
197197
intc;
198198
constchar*filename=NULL;
199199
constchar*format="p";
@@ -301,8 +301,6 @@ main(int argc, char **argv)
301301
while ((c=getopt_long(argc,argv,"abcCdDE:f:F:h:in:N:oOp:RsS:t:T:uU:vWxX:Z:",
302302
long_options,&optindex))!=-1)
303303
{
304-
objnameArg*schemaList_tail=NULL,*tableList_tail=NULL;
305-
306304
switch (c)
307305
{
308306
case'a':/* Dump data only */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp