pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Whit Armstrong <armstrong.whit@gmail.com>
To: Marvelde, Luc te <L.teMarvelde@nioo.knaw.nl>
Cc: Gabor Grothendieck <ggrothendieck@gmail.com>
Cc: pgsql-sql@postgresql.org, Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <aklaver@comcast.net>
Subject: Re: Sqldf - error message
Date: Fri, 20 Nov 2009 12:11:16 -0500
Message-ID: <8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com> (raw)
In-Reply-To: <200911200823.13435.aklaver@comcast.net>
References: <1276C0564833F043AB4C85ED8DA9CFE502AF054F@ctemail1.nioo.int>
	<21320.1258727961@sss.pgh.pa.us>
	<162867790911200643t6eb9d186n7889b53b3e2d0c4d@mail.gmail.com>
	<200911200823.13435.aklaver@comcast.net>

Luc,

You need to contact Gabor Grothendieck (cc'd) about this issue.  He is
the package author.  I'm sure he will be happy to help.

-Whit


On Fri, Nov 20, 2009 at 11:23 AM, Adrian Klaver <aklaver@comcast.net> wrote:
> On Friday 20 November 2009 6:43:53 am Pavel Stehule wrote:
>> 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"
>
> It is more complicated than that see:
> http://code.google.com/p/sqldf/
>
> It is a framework sqldf over a framework rsqlite over sqlite. The data frames
> the OP is talking about are variables that are coerced to being 'tables'. I can
> see no mailing list for sqldf itself. The closet I could come is
> https://stat.ethz.ch/mailman/listinfo/r-help
> which seems to have quite a few discussions on sqldf and would probably be the
> better place to ask this question.
>
>>
>> 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
>
>
>
> --
> Adrian Klaver
> aklaver@comcast.net
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>



view thread (9+ messages)

Message-ID: <8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com>
Permalink:  ../8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com/
Also on:    postgresql.org/message-id/8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: armstrong.whit@gmail.com, L.teMarvelde@nioo.knaw.nl, ggrothendieck@gmail.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, aklaver@comcast.net
  Subject: Re: Sqldf - error message
  In-Reply-To: <8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox