Re: [GENERAL] New interface to PG from Chapel? - Mailing list pgsql-general

From Steve Atkins
Subject Re: [GENERAL] New interface to PG from Chapel?
Date
Msg-id 779CBCC5-0D71-406A-81BD-781C2B8D3C0F@blighty.com
Whole thread Raw
In response to [GENERAL] New interface to PG from Chapel?  (Thelonius Buddha <buddha314@gmail.com>)
List pgsql-general
> On Sep 15, 2017, at 12:56 PM, Thelonius Buddha <buddha314@gmail.com> wrote:
>
> I’m interested to know the level of effort to build a psycopg2-like library for Chapel: http://chapel.cray.com/ Not
beingmuch of a programmer myself, does someone have an educated opinion on this? 

It looks like you can call C libraries from Chapel, so you can use libpq directly. Psycopg2 complies with the python
databaseAPI, but there doesn't seem anything like that for Chapel, so there's not really an equivalent. 

So it depends on how complex a wrapper you want. At the low end, very little effort - libpq exists; you can call it
fromChapel if you just declare the api, I think. 

Cheers, Steve



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: [GENERAL] New interface to PG from Chapel?
Next
From: Dipesh Dangol
Date:
Subject: Re: [GENERAL] [HACKERS] pgjdbc logical replication client throwing exception