Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 625A063290F for ; Fri, 20 Nov 2009 13:11:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 69944-01 for ; Fri, 20 Nov 2009 17:11:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mail.postgresql.org (Postfix) with ESMTP id DC3CE630733 for ; Fri, 20 Nov 2009 13:11:17 -0400 (AST) Received: by yxe11 with SMTP id 11so2971693yxe.15 for ; Fri, 20 Nov 2009 09:11:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=d9vCdF6mJtE+qZucEMdUrZ1jzOl408t/12wIYpT8cKs=; b=Nkb+fStb5iybYhMrjLLO3Pv/WsesyiOLsT3hdopan3sBLZ/cF3ieBQDUOYQsRUMmUq ZzUkiNCckh0KFpX1Q+/B2w2N4Uz2OIYmpSurHpAoM1w7CVwxPufAHe8nZ99Mz698pKh0 YMFcaMU0WNZfOMNP8vb/VieLvJOmd1XJS6EuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BYSxkclXxr+NTz/AYXNQEWQk4d5R7e7IIN4D2113qUqBW3kom/HDYm2XojtJmV3bd6 DXt4sHPibSdURl1Lb5mrSuk6B85dJ/sioNBM818C8KfXgeni8ghT5V0CwFg+JK/r7n78 TEf9ikRCMHDuu0iUXQ9ezLuSDIa3zo/fzlV34= MIME-Version: 1.0 Received: by 10.101.208.35 with SMTP id k35mr2248218anq.132.1258737076810; Fri, 20 Nov 2009 09:11:16 -0800 (PST) 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> Date: Fri, 20 Nov 2009 12:11:16 -0500 Message-ID: <8ec76080911200911v5b5a7019p8188c5aab643cadb@mail.gmail.com> Subject: Re: Sqldf - error message From: Whit Armstrong To: "Marvelde, Luc te" Cc: Gabor Grothendieck , pgsql-sql@postgresql.org, Pavel Stehule , Tom Lane , Adrian Klaver Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200911/70 X-Sequence-Number: 33421 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 wrote= : > On Friday 20 November 2009 6:43:53 am Pavel Stehule wrote: >> 2009/11/20 Tom Lane : >> > "Marvelde, Luc te" 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 = =3D >> >> dbo_tbl_Broedsels.BroedselID) >> >> + INNER JOIN dbo_tbl_Nestkasten ON dbo_tbl_BroedselLocatie.NestkastID= =3D >> >> dbo_tbl_Nestkasten.NestkastID) >> >> + INNER JOIN dbo_tbl_Terrein ON dbo_tbl_Nestkasten.TerreinNummer =3D >> >> dbo_tbl_Terrein.TerreinNummer >> >> + WHERE (((dbo_tbl_Terrein.RingCentraleNaam)=3D'Oosterhout a/d Waal')= );") >> >> >> >> I get the following message: >> >> >> >> Error in sqliteExecStatement(con, statement, bind.data) : >> >> =C2=A0 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. =C2=A0That 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. =C2=A0Either way, you >> > need to bug sqldf's authors to fix it. >> >> is it Postgres? I see =C2=A0"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 fr= ames > 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 b= e the > better place to ask this question. > >> >> regards >> Pavel Stehule >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0regards, 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 >