Re: On columnar storage - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: On columnar storage
Date
Msg-id 20150617180431.GZ133018@postgresql.org
Whole thread Raw
In response to Re: On columnar storage  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: On columnar storage  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
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.)

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: pretty bad n_distinct estimate, causing HashAgg OOM on TPC-H
Next
From: Brendan Jurd
Date:
Subject: Re: [PATCH] Function to get size of asynchronous notification queue