summaryrefslogtreecommitdiff
path: root/tests/run.scm
AgeCommit message (Collapse)Author
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-12Fix tests for newer server versions which report no "micro" version4.1.4Peter Bex
Reported by Kon Lovett
2020-03-28Don't use keywords as identifiers in macro in testsPeter Bex
This breaks in newer CHICKEN versions.
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.
2018-06-11Initial port of PostgreSQL egg to CHICKEN 54.0.0Peter Bex