Re: Sqldf - error message - Mailing list pgsql-sql

From Pavel Stehule
Subject Re: Sqldf - error message
Date
Msg-id 162867790911200643t6eb9d186n7889b53b3e2d0c4d@mail.gmail.com
Whole thread Raw
In response to Re: Sqldf - error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Sqldf - error message  (Adrian Klaver <aklaver@comcast.net>)
List pgsql-sql
2009/11/20 Tom Lane <tgl@sss.pgh.pa.us>:
> "Marvelde, Luc te" <L.teMarvelde@nioo.knaw.nl> writes:
>> If I run this SQL query:
>
>>> sqldf("SELECT
>> + dbo_tbl_Terrein.RingCentraleNaam,
>> + dbo_tbl_Broedsels.BroedselID
>> + FROM ((dbo_tbl_BroedselLocatie
>> + INNER JOIN dbo_tbl_Broedsels ON dbo_tbl_BroedselLocatie.BroedselID =
>> dbo_tbl_Broedsels.BroedselID)
>> + INNER JOIN dbo_tbl_Nestkasten ON dbo_tbl_BroedselLocatie.NestkastID =
>> dbo_tbl_Nestkasten.NestkastID)
>> + INNER JOIN dbo_tbl_Terrein ON dbo_tbl_Nestkasten.TerreinNummer =
>> dbo_tbl_Terrein.TerreinNummer
>> + WHERE (((dbo_tbl_Terrein.RingCentraleNaam)='Oosterhout a/d Waal'));")
>
>> I get the following message:
>
>> Error in sqliteExecStatement(con, statement, bind.data) :
>>   RS-DBI driver: (error in statement: no such column:
>> dbo_tbl_Broedsels.BroedselID)
>
> It looks to me like sqldf is unaware of the rules about identifier
> case-folding in Postgres.  That column would come back named
> "broedselid", but it's probably looking for "BroedselID".
> Or possibly it's expecting the qualifier "dbo_tbl_Broedsels."
> to be included in the returned column name.  Either way, you
> need to bug sqldf's authors to fix it.
>

is it Postgres? I see  "Error in sqliteExecStatement"

regards
Pavel Stehule



>                        regards, tom lane
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sqldf - error message
Next
From: Pavel Stehule
Date:
Subject: Re: Sqldf - error message