Make psql use all pretty print options - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Make psql use all pretty print options
Date
Msg-id 20030929122134.G37431-200000@houston.familyhealth.com.au
Whole thread Raw
Responses Re: Make psql use all pretty print options
List pgsql-patches
Hi,

This patch finishes off the work that I did with making view
definitions use pretty printing.

It does:

* Pretty check constraints
* Pretty index predicates
* Pretty rule definitions
* Uppercases PRIMARY KEY and UNIQUE to be consistent with CHECK and
FOREIGN KEY
* View rules are improved to match table rules:

        View "public.v"
  Column  |  Type   | Modifiers
----------+---------+-----------
 ?column? | integer |
View definition:
 SELECT 1;
Rules:
 r1 AS
    ON INSERT TO v DO INSTEAD NOTHING
 r2 AS
    ON INSERT TO v DO INSTEAD NOTHING

Chris


Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: tsearch2 memory alloc checks
Next
From: Peter Eisentraut
Date:
Subject: Re: Fw: New translation