Re: [GENERAL] Error in Adding All Tables - Mailing list pgsql-odbc

From Joshua D. Drake
Subject Re: [GENERAL] Error in Adding All Tables
Date
Msg-id 490D0188.5060301@commandprompt.com
Whole thread Raw
In response to Error in Adding All Tables  (salman Sheikh <salman_sheikh@web.de>)
List pgsql-odbc
salman Sheikh wrote:
>
>
> Hi freinds,
> i wanted to add my all tables once in MFC application,
>
> i have a databank,which has 11 tables and i want to add them all togather.
>
>  After Adding all tables, it shows me always this errors by debugging.
>
>
> ERROR: column reference "ctid" is ambiguous;
> Error while executing the query

This means you did this:

SELECT ctid,ctid from table1, table2

But it doesn't know which ctid belongs to which table. You need to use
aliases or dotted notation.

Joshua D. Drake

pgsql-odbc by date:

Previous
From: justin
Date:
Subject: Re: [GENERAL] Error in Adding All Tables
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] Behavior change of FK info query