[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-dbi and PostgreSQL
From: |
Nala Ginrut |
Subject: |
Re: guile-dbi and PostgreSQL |
Date: |
Sat, 22 Jul 2017 12:32:23 +0800 |
Why you modify dbd-sqlite3 for that? There's dbd-postgresql
2017年7月22日 02:05,"Christopher Baines" <address@hidden>写道:
On Fri, 21 Jul 2017 17:44:15 +0800
Nala Ginrut <address@hidden> 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