Re: [m-users.] ODBC library in parallel grades
Volker Wysk <[email protected]>
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, dem 01.03.2023 um 02:58 +1100 schrieb Zoltan Somogyi: > > On Tue, 28 Feb 2023 16:35:23 +0100, Volker Wysk <[email protected]> wrote: > > I'm getting the impression that the ODBC library doesn't work in parallel > > grades. Doing a transaction hangs. Even if no threads, except for the main > > program, is used. Is this correct ..? > > The ODBC library was given to the Mercury project by its authors > in 1997, which was before parallel grades existed. It has seen > very little maintenance since then. Even if it did work in parallel > grades, it would be only be by accident. > > If you want to use this library in that environment, I think you > will have to make it work yourself; I don't believe any of the > current members of the Mercury project have ever done any > but incidental maintenance on it. Yes, there's some work to do. - Explicit connections (not a new connection for every transaction) - Support for SQL integer types (64-bit-ints are represended by strings) - Support for threads - An "unsafe_transaction" predicate (You might not like this idea) - Support for binary data/blobs Quite possible that I'll do some of this. Cheers, Volker _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmP+KTsACgkQ+K4ydFOs HoX4Xw//chMKXSD31zkxk+BgvSB+KL2oe/j8ftqYJrKwAKOrjNU/VI4NO+uCPfus fiOW5eaq4/L+rT2xkarbk/6xq7W0YT5962vI/e+jAvti5SpjuBCyl4wgK94R7TgC DvgKFgO83fDHOzI4fzXRuUPc/Xcc0GTYcvO0A18g2adq7R7DFyXkmu5eWsbLlDWQ Siihs00dXOV0d94bHVIvArOyhQTLdid5JTfxe2ZiF0jRwUyaV3i/+AuRw6SjP9OM SB7QLYXfujx+M68HCb8BZtJQa9CZFkMxl90P09q/vtugAup/2hccZwsXW9Z3eU26 PcdvG5B06kFna5HTHBrdDJ/QkAQES6KGWrLgjpt7DzPyYPuge5ADRDpp6hq7KQp0 mAnE4tPSr+etLxlOu9p69P9DoqpOsBZoXpTXWR3itwmO7xlgvDvudA2H49IssOnU cIlbp0WaS4sHPePE7dyH5Bg6kEek3jXILfhQof1ha87IhncwolmmAMag/ZnKxb2L 8Tx2ifUOEQofbLruaJ3v84dCJNGPMb7njhCGIjR88UluoE2/RiOHceRbOC8iG3ep RABbzjOd3Kf7M0idd+DkR8Sle9RqdTkEWtQWCz2pS/rgb0cLw2ZtLi94uleNgVP/ l9GZFrFSVAbEQzXftYeB5u7XntaSshNWvziUWB605l/t0fU32Wg= =vGed -----END PGP SIGNATURE-----