Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGAxF-0004lH-1K for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Feb 2014 17:29:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WGAxE-00080f-Gz for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Feb 2014 17:29:04 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGAxD-00080Y-Ek for pgsql-bugs@postgresql.org; Wed, 19 Feb 2014 17:29:03 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGAxA-00053M-DS for pgsql-bugs@postgresql.org; Wed, 19 Feb 2014 17:29:02 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WGAx9-0001NM-2w for pgsql-bugs@postgresql.org; Wed, 19 Feb 2014 09:28:59 -0800 Date: Wed, 19 Feb 2014 09:28:59 -0800 (PST) From: David Johnston To: pgsql-bugs@postgresql.org Message-ID: <1392830939079-5792745.post@n5.nabble.com> In-Reply-To: <20140219164928.2699.52017@wrigleys.postgresql.org> References: <20140219164928.2699.52017@wrigleys.postgresql.org> Subject: Re: BUG #9278: Error: SQLSTATE[42702]: Ambiguous column: 7 ERROR: column reference "tid" is ambiguous LINE 8: ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 1.8 (+) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org tonimueller.unihalle wrote > The following bug has been logged on the website: >=20 > Bug reference: 9278 > Logged by: Toni M=C3=BCller > Email address:=20=20=20=20=20=20 > tonimueller.unihalle@ > PostgreSQL version: 9.1.0 > Operating system: Ubuntu 13.10 > Description:=20=20=20=20=20=20=20=20 >=20 > Hello PostgreSQL developers,=20 >=20 > there is an unsolved bug probably in PostgreSQL which from 2010 still > persists in combination with Drupal7 and its Taxonomy module (7.26) if you > want to create a Tag Cloud based on Taxonomy terms. This issue doesn't > exist > with MySQL.=20 > In Drupal7 I created a view for a tag cloud in drupal 7 based on Taxonomy > terms (Module Taxonomy 7.26). The problem is to add the Field '(node) > COUNT(Content: Nid)' with Count Aggregation type to count all terms and > display equal terms as one representative with the account of one term's > sum. With this field the following error appears already in the view > settings:=20 > SQLSTATE[42702]: Ambiguous column: 7 ERROR: column reference "tid" is > ambiguous LINE 8: ... taxonomy_term_data_name, taxonomy_term_data_vid, > tid, > taxon... ^ I am doubting that PostgreSQL is reporting an ambiguous column error when there is none so this is likely not something that PostgreSQL can "fix".=20 Regardless, we'd be happy to look at it but you provide insufficient detail and scope-restriction (i.e., self-contained and minimal query/script that reproduces the error) for anyone not using the exact combination of software you list to actually evaluate the complaint. Maybe someone who monitors this list can help but if you haven't already you need to either provide considerably more detail or convince the authors of the Taxonomy module to do so. At a bare minimum we need the entire SQL statement that is being sent to the server. You also claim that this "bug" likely exists since 2010. What evidence makes you think that? Supposedly there was an report of a problem back then as well...and if so it would be helpful if you would actually provide a link to such. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-9= 278-Error-SQLSTATE-42702-Ambiguous-column-7-ERROR-column-reference-tid-is-a= mbiguous-LINE-8-tp5792736p5792745.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs