Re: psql latex and newlines - Mailing list pgsql-general

From Bruce Momjian
Subject Re: psql latex and newlines
Date
Msg-id 20120211002540.GA25379@momjian.us
Whole thread Raw
In response to psql latex and newlines  (Wim Bertels <wim.bertels@khleuven.be>)
Responses Re: psql latex and newlines  (Wim Bertels <wim.bertels@khleuven.be>)
List pgsql-general
On Mon, Dec 12, 2011 at 07:15:12PM +0100, Wim Bertels wrote:
> Hallo,
>
> psql latex output format needs to differentiate between a newline and a
> tabularnewline.
>
> the problem arises when u have a field value that contains a newline
> character, when this field is not the first column, then all the data
> after this newline comes in the first column..
>
> u can try this out, writing a function or table,
> and then add 'enters' or newline in the COMMENT on this function or
> table.
>
> the \pset recordsep doesn't solve this, since the mistakes take place
> within the same record.

Can you give me a self-contained test case I can use so I can use it to
fix the to code?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Re: Strategy for Primary Key Generation When Populating Table
Next
From:
Date:
Subject: question on trigger