commands. Per complaint that \df+ is clearer in expanded mode.
<listitem>
<para>
Prevent <command>\x</> (expanded mode) from affecting
- backslash-command displays (Neil)
+ the output of <command>\d tablename<\> (Neil)
</para>
</listitem>
{
printQueryOpt my_popt = pset.popt;
- my_popt.topt.normal_query = true;
-
/* write output to \g argument, if any */
if (pset.gfname)
{
retval = false;
+ /* This output looks confusing in expanded mode. */
+ myopt.expanded = false;
+
initPQExpBuffer(&buf);
initPQExpBuffer(&title);
initPQExpBuffer(&tmpbuf);
* normal (user-submitted) query, not a table we're printing for a slash
* command.
*/
- if (opt->expanded && opt->normal_query)
+ if (opt->expanded)
use_expanded = true;
else
use_expanded = false;
* decimal marker */
char *tableAttr; /* attributes for HTML <table ...> */
int encoding; /* character encoding */
- bool normal_query; /* are we presenting the results of a "normal"
- * query, or a slash command? */
} printTableOpt;
pset.queryFout = stdout;
pset.popt.topt.border = 1;
pset.popt.topt.pager = 1;
- pset.popt.topt.normal_query = false;
pset.popt.default_footer = true;
SetVariable(pset.vars, "VERSION", PG_VERSION_STR);