Re: View definition formatting - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: View definition formatting
Date
Msg-id Pine.LNX.4.44.0304012020260.2216-100000@peter.localdomain
Whole thread Raw
In response to View definition formatting  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: View definition formatting
List pgsql-hackers
Dave Page writes:

> When using pg_get_viewdef(oid), the view definition is returned in a
> reconstructed form (I assume) with all formatting removed. This is a
> pain for apps like pgAdmin, that allow the user to edit their views,
> particularly with very large ones.

Perhaps as a workaround you could invent a standard indentation format and
format the rules automatically that way, so that users will be able to
find everything in the same place automatically after the second edit
cycle.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: PostgreSQL and SOAP, suggestions?
Next
From: pgsql@mohawksoft.com
Date:
Subject: Re: PostgreSQL and SOAP, suggestions?