Christopher Baines cbaines

cbaines merged pull request cwebber/guile-squee#8

Clear the connection-to-port mapping for new connections.

1 year ago

cbaines closed pull request cwebber/guile-squee#8

Clear the connection-to-port mapping for new connections.

1 year ago

cbaines commented on issue cwebber/guile-squee#8

Clear the connection-to-port mapping for new connections.

This looks good to me.

1 year ago

cbaines pushed to master at cwebber/guile-squee

  • fab9d95907 Fix handling for exec-query with multiple statements

1 year ago

cbaines merged pull request cwebber/guile-squee#7

Non-blocking 'exec-query', for use in Fiberized programs

1 year ago

cbaines closed pull request cwebber/guile-squee#7

Non-blocking 'exec-query', for use in Fiberized programs

1 year ago

cbaines commented on issue cwebber/guile-squee#7

Non-blocking 'exec-query', for use in Fiberized programs

Exciting! I've played with this locally (also using ephemeralpg and it seems fine).

1 year ago

cbaines commented on issue cwebber/guile-squee#5

Various improvements.

Thanks, looks good to me :)

3 years ago

cbaines merged pull request cwebber/guile-squee#5

Various improvements.

3 years ago

cbaines closed pull request cwebber/guile-squee#5

Various improvements.

3 years ago

cbaines commented on issue guile-sqlite3/guile-sqlite3#17

Segmentation fault in sqlite-prepare

I haven't got a fix yet, but I think I've tracked down the cause. If I comment out the (sqlite-finalize stmt) bit within (pump-stmt-guardian), I can no longer get a segfault.

4 years ago

cbaines opened issue guile-sqlite3/guile-sqlite3#17

Segmentation fault in sqlite-prepare

4 years ago

cbaines pushed to master at cwebber/guile-squee

  • af10724ab3 Delete trailing whitespace from squee.scm

4 years ago

cbaines closed issue cwebber/guile-squee#3

Is this repo supported?

4 years ago

cbaines commented on issue cwebber/guile-squee#3

Is this repo supported?

I've got commit access now, so hopefully I can help out. I've also got some things I want to look at, like NULL handling.

4 years ago

cbaines commented on issue cwebber/guile-squee#4

Guard against garbage collection issues with pointers

Awesome, thanks! I wouldn't mind commit access. I've been using this for the Guix Data Service [1] for a few years now. I hacked in some NULL handling as well [2] which I should probably look at sorting out properly.

4 years ago

cbaines created pull request cwebber/guile-squee#4

Guard against garbage collection issues with pointers

4 years ago

cbaines pushed to fix-garbage-collection-issues-with-parameter-pointers at cbaines/guile-squee

  • 31d9b95778 Do more in exec-query to keep the pointers alive Just having the param-pointers in the let isn't sufficient, I believe because Guile can see that it's not being used after the %PQexecParams call, and since the garbage collection is threaded, there's a chance that changes will occur after %PQexecParams has started, but before it's got to using those areas of memory. Calling identity (Ludovic's suggestion) on the values after the %PQexecParams call should guarantee that the relevant areas of memory remain intact.
  • 499634f2b5 WIP
  • 09b20d0b96 WIP
  • View comparison for these 3 commits »

4 years ago