unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Nala Ginrut <nalaginrut@gmail.com>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: guile-dbi and PostgreSQL
Date: Fri, 21 Jul 2017 19:05:04 +0100	[thread overview]
Message-ID: <20170721190504.7e9c822b@cbaines.net> (raw)
In-Reply-To: <CAPjoZochLgdPgC2e2a+KRCVP+EA9mAo3iQzcK6VyavQsVtucUQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On Fri, 21 Jul 2017 17:44:15 +0800
Nala Ginrut <nalaginrut@gmail.com> 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

  reply	other threads:[~2017-07-21 18:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21  7:34 guile-dbi and PostgreSQL Christopher Baines
2017-07-21  9:44 ` Nala Ginrut
2017-07-21 18:05   ` Christopher Baines [this message]
     [not found]     ` <CAPjoZod_NcbCd=JVs1f9wVqgWF37zQKusB=JoHX9oj154JfDTg@mail.gmail.com>
     [not found]       ` <CAPjoZoeaSnvwxDfEmB1nMTpUT=uX-FAxXPhBTPGVHm6GHiR03w@mail.gmail.com>
2017-07-22  4:32         ` Nala Ginrut
2017-07-22  7:52           ` Christopher Baines

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170721190504.7e9c822b@cbaines.net \
    --to=mail@cbaines.net \
    --cc=guile-user@gnu.org \
    --cc=nalaginrut@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).