<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chicken-postgresql, branch 5.0.1</title>
<subtitle>PostgreSQL support for CHICKEN Scheme via libpq C API bindings.
</subtitle>
<id>https://code.more-magic.net/chicken-postgresql/atom?h=5.0.1</id>
<link rel='self' href='https://code.more-magic.net/chicken-postgresql/atom?h=5.0.1'/>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/'/>
<updated>2024-12-12T07:47:31Z</updated>
<entry>
<title>Drop version specifier so release-info file's version is used</title>
<updated>2024-12-12T07:47:31Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-12-12T07:47:31Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=0fbedee3b4cdd3bc35e32ff000c9ec3296e7d4fc'/>
<id>urn:sha1:0fbedee3b4cdd3bc35e32ff000c9ec3296e7d4fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use bytevector foreign type instead of bare scheme-pointer</title>
<updated>2024-09-12T17:39:16Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-09-12T17:39:16Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=8ff1920c22d99913318f0d17902f53b27cb82727'/>
<id>urn:sha1:8ff1920c22d99913318f0d17902f53b27cb82727</id>
<content type='text'>
This provides a little bit more safety in case we need to change this
again later.
</content>
</entry>
<entry>
<title>Update C6 release-info</title>
<updated>2024-09-12T17:15:05Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-09-12T17:15:05Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=e0f990b4efde2e73e5afc01ea531bf987c69a277'/>
<id>urn:sha1:e0f990b4efde2e73e5afc01ea531bf987c69a277</id>
<content type='text'>
Only mention the new 5.0.0 release since the old 4.x releases don't
work on C6 anyway.
</content>
</entry>
<entry>
<title>Port Postgres egg to CHICKEN 6</title>
<updated>2024-09-12T17:12:52Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-09-12T16:53:44Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=1088b3244e9dd89404e6eea457727805b2fb2d89'/>
<id>urn:sha1:1088b3244e9dd89404e6eea457727805b2fb2d89</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix a few tests that no longer work in newer Postgres versions</title>
<updated>2024-09-12T16:46:04Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-09-12T16:46:04Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=c1a36cc2c67de45c4f6db6ecd2cc9102c5170ba2'/>
<id>urn:sha1:c1a36cc2c67de45c4f6db6ecd2cc9102c5170ba2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add 4.1.4 release</title>
<updated>2021-10-12T06:48:43Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2021-10-12T06:48:43Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=54cf30131d9cb64588d7a0a27d34653681cbd567'/>
<id>urn:sha1:54cf30131d9cb64588d7a0a27d34653681cbd567</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests for newer server versions which report no "micro" version</title>
<updated>2021-10-12T06:47:18Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2021-10-12T06:47:18Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=0504fe76bca2d59e1f0bdf535d42e02fec677f10'/>
<id>urn:sha1:0504fe76bca2d59e1f0bdf535d42e02fec677f10</id>
<content type='text'>
Reported by Kon Lovett
</content>
</entry>
<entry>
<title>Add 4.1.3 release</title>
<updated>2020-07-05T18:53:14Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2020-07-05T18:53:14Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=790f215b2befa2d4022f40425b474557479b9f35'/>
<id>urn:sha1:790f215b2befa2d4022f40425b474557479b9f35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing shebang line, required on some *nixes.</title>
<updated>2020-07-05T18:52:44Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2020-07-05T18:52:03Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=dd3e00f91a021232c429d0b517f7c3c3a5b65cba'/>
<id>urn:sha1:dd3e00f91a021232c429d0b517f7c3c3a5b65cba</id>
<content type='text'>
This also removes the need to add an Emacs modeline.

Pointed out by Ricardo G. Herdt, as the build didn't work on Alpine.
</content>
</entry>
<entry>
<title>Tag 4.1.2</title>
<updated>2020-03-28T20:02:12Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2020-03-28T20:02:12Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/chicken-postgresql/commit/?id=c5f9f8f36ee0313935c066ff8df43fcf176c8f40'/>
<id>urn:sha1:c5f9f8f36ee0313935c066ff8df43fcf176c8f40</id>
<content type='text'>
</content>
</entry>
</feed>
