diff options
author | Tom Lane | 2007-08-10 00:39:44 +0000 |
---|---|---|
committer | Tom Lane | 2007-08-10 00:39:44 +0000 |
commit | 0ce7664f682edd615a52751a9c287824cf960c7d (patch) | |
tree | b1bfddd310252bc664c212111e089c94ff24f507 | |
parent | 1053c79ffa429cedfcfb72005d8472fe8e364b6a (diff) |
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.
-rw-r--r-- | src/bin/scripts/createlang.c | 2 | ||||
-rw-r--r-- | src/bin/scripts/droplang.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c index c250cdf54e..a0f2f47958 100644 --- a/src/bin/scripts/createlang.c +++ b/src/bin/scripts/createlang.c @@ -138,6 +138,8 @@ main(int argc, char *argv[]) memset(&popt, 0, sizeof(popt)); popt.topt.format = PRINT_ALIGNED; popt.topt.border = 1; + popt.topt.start_table = true; + popt.topt.stop_table = true; popt.topt.encoding = PQclientEncoding(conn); popt.title = _("Procedural Languages"); printQuery(result, &popt, stdout, NULL); diff --git a/src/bin/scripts/droplang.c b/src/bin/scripts/droplang.c index 662c4af7f4..d687909b51 100644 --- a/src/bin/scripts/droplang.c +++ b/src/bin/scripts/droplang.c @@ -149,6 +149,8 @@ main(int argc, char *argv[]) memset(&popt, 0, sizeof(popt)); popt.topt.format = PRINT_ALIGNED; popt.topt.border = 1; + popt.topt.start_table = true; + popt.topt.stop_table = true; popt.topt.encoding = PQclientEncoding(conn); popt.title = _("Procedural Languages"); printQuery(result, &popt, stdout, NULL); |