From: Rob Sargent <robjsargent@gmail.com>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: SQL pretty pritner?
Date: Mon, 28 Oct 2019 07:44:48 -0600
Message-ID: <565DBA83-1924-4729-91DC-683D95012800@gmail.com> (raw)
In-Reply-To: <5abaa910-256e-fb91-5eb8-93a847e78e01@gmail.com>
References: <5abaa910-256e-fb91-5eb8-93a847e78e01@gmail.com>
> On Oct 28, 2019, at 7:37 AM, Ron <ronljohnsonjr@gmail.com> wrote:
>
> But does it reformat the text?
>
It’s an “indented text mode” so beeline respect current indentation. I don’t think it will take an stream out sql and add newlines at predictable places. Not at My desk to try.
>> On 10/28/19 8:00 AM, Basques, Bob (CI-StPaul) wrote:
>> All,
>>
>> Take a look at the VI(m) editor. There is a Syntax mode for highlighting different file types, as well as tools for exporting the highlighted text to HTML. I have yet to find a file type that it doesn’t already handle.
>>
>> Works really slick.
>>
>> bobb
>>
>>
>>
>>>> On Oct 27, 2019, at 5:21 PM, stan <stanb@panix.com> wrote:
>>>
>>> Think Before You Click: This email originated outside our organization.
>>>
>>>
>>> I have a presentation later in the week, and i plan on printing out some
>>> files containing SQL commands. I have used some "pretty printers" in the
>>> past for things like Perl scripts. What I am thinking of s something that
>>> bolds keywords, handles page breaks, and does some formatting.
>>>
>>> Development being done in an Ubuntu Linux environment.
>>>
>>> Anyone have a recommendation?
>>
>
> --
> Angular momentum makes the world go 'round.
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, ronljohnsonjr@gmail.com
Subject: Re: SQL pretty pritner?
In-Reply-To: <565DBA83-1924-4729-91DC-683D95012800@gmail.com>
References: <5abaa910-256e-fb91-5eb8-93a847e78e01@gmail.com> <565DBA83-1924-4729-91DC-683D95012800@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox