From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: guile-dbi and PostgreSQL Date: Sat, 22 Jul 2017 12:32:23 +0800 Message-ID: References: <20170721083423.631e1b3c@cbaines.net> <20170721190504.7e9c822b@cbaines.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1500697974 15374 195.159.176.226 (22 Jul 2017 04:32:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2017 04:32:54 +0000 (UTC) Cc: Guile User To: Christopher Baines Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jul 22 06:32:48 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYm5r-0003IQ-1Y for guile-user@m.gmane.org; Sat, 22 Jul 2017 06:32:43 +0200 Original-Received: from localhost ([::1]:45676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYm5u-0005Ac-QE for guile-user@m.gmane.org; Sat, 22 Jul 2017 00:32:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYm5a-0005AV-Qa for guile-user@gnu.org; Sat, 22 Jul 2017 00:32:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYm5Z-000743-Oo for guile-user@gnu.org; Sat, 22 Jul 2017 00:32:26 -0400 Original-Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:37906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYm5Z-00073p-Ih for guile-user@gnu.org; Sat, 22 Jul 2017 00:32:25 -0400 Original-Received: by mail-it0-x234.google.com with SMTP id h199so15363001ith.1 for ; Fri, 21 Jul 2017 21:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pLsGVwB4Cd7GRgHINxml6Pnh9j261bC4u4FUqe6d/C8=; b=i8cf0wpcpvs7nMUWR2x0kNny/PF5/F8D89dUAPtBgV796t4oqPV9i3HWN6ViBBETX7 OYpIHoJvc0sByxTL3Pf8bBY1ltsMRI5ZdBK9dTvAwFLPC77AFMaiKI12e5TZ2sOVWoz/ 18MfqtspoUtLF7PrSju1LfdKHoA8tV3dBNmdU5xS1mFxsXvytCjdsYzsCDIxwfRbHrXX 7UdguE4TkWlr9AlnrgH+GXvi3ZveF1WaHjjaI2NQmCMRZfdjha7A/8jeM9wDDkq2I15d z9TV6lflpTuFG0yR+4vlk7OB3uGPOIjlVllJTYsy4b1/X+hgeyIy+he6v5QhJni8HsP6 oVPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pLsGVwB4Cd7GRgHINxml6Pnh9j261bC4u4FUqe6d/C8=; b=odyrKeWo9x8BMAjRkGEwUviUowViWkYKazanPOrLhsl3iaG648cA9x33hzaJ4kOvWC VFs2c0TvgybvAwFJQbQ4+glSuNucKE2wvO9vv5RVUGoI7o7E5MB/At4ENB6IW8bEVywS lIi3UGFmjHbO+mV0saps6pYAmrGq1DrxYWVa1BgGAjrBCM6kMjTvGjUvK1Le7tvrPQgs nztiYCKm9MrEpO5mSXVtH9VoxYFhmWLoOLIQTk5muidCZHLnDfZmEFuX6fUSBe0Dr2S2 Tn8DQPPX7jxKUhYd6iy1Z+2tns9hnKor1/rOmV0uGH6LcDzVOY7noVIqtwv170HKBAEU siCQ== X-Gm-Message-State: AIVw111529T3BlR/z7mpt5qFHuTsyxlioVQW45xQZ8NqLzptf+SoAgVD ZXY4aGOhwCaTUnjGcSYIrxlovl1pfw== X-Received: by 10.36.203.3 with SMTP id u3mr1064888itg.101.1500697944800; Fri, 21 Jul 2017 21:32:24 -0700 (PDT) Original-Received: by 10.107.199.1 with HTTP; Fri, 21 Jul 2017 21:32:23 -0700 (PDT) Original-Received: by 10.107.199.1 with HTTP; Fri, 21 Jul 2017 21:32:23 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13973 Archived-At: Why you modify dbd-sqlite3 for that? There's dbd-postgresql 2017=E5=B9=B47=E6=9C=8822=E6=97=A5 02:05=EF=BC=8C"Christopher Baines" =E5=86=99=E9=81=93=EF=BC=9A On Fri, 21 Jul 2017 17:44:15 +0800 Nala Ginrut wrote: > Have you installed guile-dbd-postgresql? I'm not quite sure what installed would mean in this case? I've copied the guix guile-dbd-sqlite3 package, and adjusted it to be guile-dbd-postgresql. I'm then testing using: guix environment --ad-hoc guile guile-dbi guile-dbd-postgresql >From looking at the code, I was guessing I'd get a different error if the library wasn't found, as I though this [1] check might fail, but I'm struggling to read the guile-dbi code, as I'm not familiar at all with using Guile within C. 1: https://github.com/opencog/guile-dbi/blob/master/guile- dbi/src/guile-dbi.c#L75