Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: describe.txt
Description: text/plain (8.4 KB)

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group