Re: On columnar storage

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: On columnar storage
Date: 2015-06-17 19:30:01
Message-ID: 5581CAB9.9020700@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/17/15 2:04 PM, Alvaro Herrera wrote:
> Jim Nasby wrote:
>
>> Related to idea of an 'auto join', I do wish we had the ability to access
>> columns in a referenced FK table from a referring key; something like SELECT
>> customer_id.first_name FROM invoice (which would be translated to SELECT
>> first_name FROM invoice JOIN customer USING( customer_id )).
>
> We already have this feature -- you just need to set the
> add_missing_from GUC.
>
> (... actually we removed that feature because it was considered
> dangerous or something.)

That was removed in 9.0. Even so, I don't believe it added the JOIN, so
you'd suddenly get a Cartesian product.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Keith Fiske 2015-06-17 19:35:24 9.5 make world failing due to sgml tools missing
Previous Message Alvaro Herrera 2015-06-17 18:39:22 Re: WAL replay bugs