Re: pg_get_viewdefs() indentation considered harmful

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <stark(at)mit(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_get_viewdefs() indentation considered harmful
Date: 2014-01-25 01:49:02
Message-ID: CA+TgmoZjkS8A6vbd5L8uHLP0Lf_XEm7VAUw0J7+4r3evQOzmwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 24, 2014 at 6:54 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Greg Stark <stark(at)mit(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2014-01-25 01:53:43 Re: pg_get_viewdefs() indentation considered harmful
Previous Message Robert Haas 2014-01-25 01:38:11 Re: Changeset Extraction v7.1