How to execute a random postgresql-query.

Alain De Vos devosalain at ymail.com
Tue Jun 29 20:27:15 UTC 2021


On Tuesday, 29 June 2021 at 18:25:52 UTC, someone wrote:
> On Tuesday, 29 June 2021 at 17:56:54 UTC, neuranuz wrote:
>
>> You could also try to find some ready to use bindings to 
>> PostgreSQL on code.dlang.org.
>
> Can you elaborate why you went your own way coding your own 
> bindings to pglib instead of using the existing ones ?
>
> Is there something wrong with the existing ones ?
>
> Do they lack features ?
>
> Are them over-engineered ?
>
> I didn't look at the code of the existing ones yet because I am 
> knee-deep learning the language still, but since I will 
> eventually need to access postgreSQL from D, your experience 
> will help me for sure.
>
>> I haven't published my code on code.dlang yet, because it's 
>> not enough time ;-(
>
> I did see your code; it looks pretty straight-forward, indeed.

Some implementations take all queries full in memory.
But what when i need one record.
And the select result could be huge.


More information about the Digitalmars-d-learn mailing list