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

Appearance settings

Commit 509bfd6

Browse filesBrowse 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 report from Tomoaki Sato.
1 parent faa1179 commit 509bfd6
Copy full SHA for 509bfd6

File tree

Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed

‎src/bin/scripts/createlang.c

Copy file name to clipboardExpand all lines: src/bin/scripts/createlang.c
+3-1Lines 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

Copy file name to clipboardExpand all lines: src/bin/scripts/droplang.c
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.