Re: [GENERAL] New interface to PG from Chapel?

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: [GENERAL] New interface to PG from Chapel?
Дата
Msg-id 779CBCC5-0D71-406A-81BD-781C2B8D3C0F@blighty.com
обсуждение исходный текст
Ответ на [GENERAL] New interface to PG from Chapel?  (Thelonius Buddha <buddha314@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: [GENERAL] New interface to PG from Chapel?
Следующее
От: Dipesh Dangol
Дата:
Сообщение: Re: [GENERAL] [HACKERS] pgjdbc logical replication client throwing exception