guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ptobs for Guile 2.2+


From: Thien-Thi Nguyen
Subject: ptobs for Guile 2.2+
Date: Sun, 13 Dec 2020 03:46:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

I'm trying to upgrade Guile-PG for Guile 2.2 (and possibly 3.0).
It currently uses ptobs for the large object ("lobj") support in
libpq, mostly for buffering and buffer synchronization.  I see
in libguile/ports.h (Guile 2.0.13), however:

 /* Hey you!  Yes you, reading the header file!  We're going to
    deprecate scm_ptobs in 2.2, so please don't write any new
    code that uses it.  Thanks.  */

So, what do people do for "old" code that currently uses ptobs
(i.e., for Guile 2.0 and earlier)?  Is there a recommended
migration path (besides "give up" :-D)?  What am i missing?

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2020) Software Libero
   (pcase (context query)               ;       = Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]