Make psql use all pretty print options

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: Make psql use all pretty print options
Date: 2003-09-29 04:31:18
Message-ID: 20030929122134.G37431-200000@houston.familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
describe.txt text/plain 8.4 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Inoue 2003-09-29 10:51:35 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Marc G. Fournier 2003-09-29 01:58:15 Re: pgsql-server/src/backend catalog/index.c comma ...