summaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-10 00:39:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-10 00:39:44 +0000
commite32d51d541386cd2badc23e58b9ff15a319ba5bd (patch)
treef132a54dbfe1cd9027ef037024a428fcd98eed61 /src/bin/scripts/createlang.c
parent3cb161786338c93998bcf8ae5929b4e208766cbb (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.
Diffstat (limited to 'src/bin/scripts/createlang.c')
-rw-r--r--src/bin/scripts/createlang.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c
index a9ce74e5060..ec1567a5683 100644
--- a/src/bin/scripts/createlang.c
+++ b/src/bin/scripts/createlang.c
@@ -5,7 +5,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.24 2006/07/14 14:52:27 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.24.2.1 2007/08/10 00:39:44 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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);