[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ob-sqlite: Use a transient in-memory database by default
From: |
Rudolf Adamkovič |
Subject: |
Re: [PATCH] ob-sqlite: Use a transient in-memory database by default |
Date: |
Sun, 06 Aug 2023 02:22:37 +0200 |
Max Nikulin <manikulin@gmail.com> writes:
> On 05/08/2023 05:57, Rudolf Adamkovič wrote:
>> +*** Make ~ob-sqlite~ use in-database by default
>
> "use in-memory database"
Oops! Fixed.
>> +SQLite source blocks with no ~:db~ argument now execute against a
>> +transient in-memory database by default.
>
> I am unsure, but perhaps it would be more clear to say that the default
> value of the header argument has changed and it is possible to omit
> setting :db per-block or as a header argument. It should give a hint how
> to revert this change in local configuration if somebody wish it.
Please see the attached Patch 0001A.
> Feel free to just ignore the following. Perhaps to get *really* default
> behavior ob-sqlite should not check :db value and should not pass it to
> the command in the case of nil.
This is a good idea! Please see the attached
alternative Patch 0001B.
> As a result the command spits a warning.
It does?
Rudy
0001A-ob-sqlite-Use-a-transient-in-memory-database-by-defa.patch
Description: Text Data
0001B-ob-sqlite-Use-a-transient-in-memory-database-by-defa.patch
Description: Text Data
--
"'Obvious' is all too often a synonym for 'wrong'."
-- Jeff Erickson, Algorithms, 2019
Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Rudolf Adamkovič, 2023/08/03
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Ihor Radchenko, 2023/08/04
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Rudolf Adamkovič, 2023/08/04
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Max Nikulin, 2023/08/04
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default,
Rudolf Adamkovič <=
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Ihor Radchenko, 2023/08/12
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Max Nikulin, 2023/08/12
- [accessibility] worg obscures text (Re: [PATCH] ob-sqlite: Use a transient in-memory database by default), Max Nikulin, 2023/08/04
- Re: [accessibility] worg obscures text (Re: [PATCH] ob-sqlite: Use a transient in-memory database by default), Samuel Wales, 2023/08/04
- Re: [accessibility] worg obscures text (Re: [PATCH] ob-sqlite: Use a transient in-memory database by default), Samuel Wales, 2023/08/04
- Re: [accessibility] worg obscures text (Re: [PATCH] ob-sqlite: Use a transient in-memory database by default), Max Nikulin, 2023/08/10
- Re: [accessibility] worg obscures text (Re: [PATCH] ob-sqlite: Use a transient in-memory database by default), Samuel Wales, 2023/08/10
- Re: [PATCH] ob-sqlite: Use a transient in-memory database by default, Ihor Radchenko, 2023/08/05