Re: [HACKERS] Make text output more generic

2002-04-11 Thread Tom Lane
Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: >> What's insufficiently generic about them for you? > Well, at a _quick_ glance they're designed only for one column output... Well, exactly. These are intended to be a convenient interface for that case. They're already sitting on top of ge

Re: [HACKERS] Make text output more generic

2002-04-11 Thread Christopher Kings-Lynne
> > I should really move these off somewhere else and make them a bit more > > global and generic. > > What's insufficiently generic about them for you? Well, at a _quick_ glance they're designed only for one column output... Chris ---(end of broadcast)

Re: [HACKERS] Make text output more generic

2002-04-11 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > static TextOutputState *begin_text_output(CommandDest dest, char *title); > static void do_text_output(TextOutputState *tstate, char *aline); > static void do_text_output_multiline(TextOutputState *tstate, char *text); > static void end_text_

[HACKERS] Make text output more generic

2002-04-11 Thread Christopher Kings-Lynne
Hi, I'm working on making the SHOW command dump its output as if it were a select result. Tom's declared the following as static ("private") methods? static TextOutputState *begin_text_output(CommandDest dest, char *title); static void do_text_output(TextOutputState *tstate, char *aline); stati