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

Commit509bfd6

Browse files
committed
Fix unintended change of output format for createlang/droplang -l. Missed
these uses of printQuery() in FETCH_COUNT patch a year ago :-(. Per reportfrom Tomoaki Sato.
1 parentfaa1179 commit509bfd6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎src/bin/scripts/createlang.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
8-
* $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.25 2007/01/05 22:19:50 momjian Exp $
8+
* $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.26 2007/08/10 00:39:31 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -138,6 +138,8 @@ main(int argc, char *argv[])
138138
memset(&popt,0,sizeof(popt));
139139
popt.topt.format=PRINT_ALIGNED;
140140
popt.topt.border=1;
141+
popt.topt.start_table= true;
142+
popt.topt.stop_table= true;
141143
popt.topt.encoding=PQclientEncoding(conn);
142144
popt.title=_("Procedural Languages");
143145
printQuery(result,&popt,stdout,NULL);

‎src/bin/scripts/droplang.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
8-
* $PostgreSQL: pgsql/src/bin/scripts/droplang.c,v 1.22 2007/01/05 22:19:50 momjian Exp $
8+
* $PostgreSQL: pgsql/src/bin/scripts/droplang.c,v 1.23 2007/08/10 00:39:31 tgl Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -149,6 +149,8 @@ main(int argc, char *argv[])
149149
memset(&popt,0,sizeof(popt));
150150
popt.topt.format=PRINT_ALIGNED;
151151
popt.topt.border=1;
152+
popt.topt.start_table= true;
153+
popt.topt.stop_table= true;
152154
popt.topt.encoding=PQclientEncoding(conn);
153155
popt.title=_("Procedural Languages");
154156
printQuery(result,&popt,stdout,NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp