Re: pg_get_viewdefs() indentation considered harmful - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_get_viewdefs() indentation considered harmful
Date
Msg-id CA+TgmoZjkS8A6vbd5L8uHLP0Lf_XEm7VAUw0J7+4r3evQOzmwg@mail.gmail.com
Whole thread Raw
In response to Re: pg_get_viewdefs() indentation considered harmful  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_get_viewdefs() indentation considered harmful  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On Fri, Jan 24, 2014 at 6:54 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Greg Stark <stark@mit.edu> writes:
>> We're finding it more and more common for people to define partitioned
>> table views with hundreds or thousands of union branches.
>
> Really?  Given how poorly the system performs with that many inheritance
> children, I've got a hard time believing either that this is common or
> that ruleutils is your worst problem with it.

Doesn't make it a bad idea to fix it.  You may need hundreds or
thousands of union branches for this to totally break the world, but
you only need about five for it to be annoying.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Changeset Extraction v7.1
Next
From: Greg Stark
Date:
Subject: Re: pg_get_viewdefs() indentation considered harmful