summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-12Use bytevector foreign type instead of bare scheme-pointerHEADmasterPeter Bex
This provides a little bit more safety in case we need to change this again later.
2024-09-12Update C6 release-infoPeter Bex
Only mention the new 5.0.0 release since the old 4.x releases don't work on C6 anyway.
2024-09-12Port Postgres egg to CHICKEN 65.0.0Peter Bex
This has quite a few changes due to the low-level nature of this code: when the contents of a string get copied by C functions, we can't pass it to arguments of the scheme-pointer type directly anymore. Instead, strings are now wrapper objects which point to an internal (NUL-terminated!) bytevector. So not only do we have to extract this bytevector and pass it to these C functions, but we also need to calculate the string length excluding the NUL terminator. This creates a bit more branching in the code to get the thing to copy and length. The nice thing is that we no longer need to append NUL bytes to strings in a few places. Instead, we can just pass the raw bytevector to the C functions, which means this should be rather faster now.
2024-09-12Fix a few tests that no longer work in newer Postgres versions4.1.5Peter Bex
The WITH(OIDS=true) attribute for CREATE TABLE is no longer supported since version 12. So simply don't run the test for inserted-oid. I *think* this means the inserted-oid procedure is completely useless now, but I'm not 100% sure. The pg_type table has grown a "oid" column in 9.3 which comes before the "typename" column, which used to be the first. So the test is a bit too tightly coupled to the postgres system catalog. Move the test to where we create actual tables and use it on that, instead.
2021-10-12Add 4.1.4 releasePeter Bex
2021-10-12Fix tests for newer server versions which report no "micro" version4.1.4Peter Bex
Reported by Kon Lovett
2020-07-05Add 4.1.3 release4.1.3Peter Bex
2020-07-05Add missing shebang line, required on some *nixes.Peter Bex
This also removes the need to add an Emacs modeline. Pointed out by Ricardo G. Herdt, as the build didn't work on Alpine.
2020-03-28Tag 4.1.24.1.2Peter Bex
2020-03-28Explicitly depend on scheduler unit so it gets loadedPeter Bex
We used to use srfi-18, but that's an extra dependency we don't need so when we added our own thread waiter with support for a delay, we dropped srfi-18 altogether, also for calls not using the delay. Tests did not catch this, ironically, because they load srfi-18.
2020-03-28Don't use keywords as identifiers in macro in testsPeter Bex
This breaks in newer CHICKEN versions.
2019-05-12Add 4.1.1 to release-infoPeter Bex
2019-05-12Forgot to expose the default notify handler parameter4.1.1Peter Bex
2019-05-12Add 4.1.0 to release-info filePeter Bex
2019-05-12Add LISTEN/NOTIFY support4.1.0Peter Bex
This really is just a matter of reading out notifications when they're available. Also, we offer a way to explicitly wait for notifications.
2019-05-01Change file encoding to UTF-8Peter Bex
2018-10-10Add TODO item for multi-host listPeter Bex
2018-06-11Initial port of PostgreSQL egg to CHICKEN 54.0.0Peter Bex