Re: joined tables with USING and GROUPBY on the USING() column

From: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: joined tables with USING and GROUPBY on the USING() column
Date: 2016-09-07 20:51:10
Message-ID: CAEzk6fcep41E3RAH67afj67bJZW_mEjPOJq=04-SH0cDkKvD0g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks for the suggestions. Turns out I was right: I _was_ missing
something obvious - results had token as char(4), tokens had token as
varchar(4). Because the columns aren't the same they aren't treated as
identical so the query builder won't accept the unqualified name.

Next task is to work out how on earth the server ended up with its
results table different to all the others...

Geoff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2016-09-07 22:18:35 Re: How to assemble all fields of (any) view into a string?
Previous Message Melvin Davidson 2016-09-07 20:42:11 Re: pgAdmin 4 records limit of 2000