Re: libpq and multi-threading

2023-05-03 Thread Michael J. Baars
re’s a bunch of not well documented dragons if you’re trying to treat a > child process as a thread. Use POSIX Threads, as pretty much anytime PG or > anything else Linux based says thread they’re talking about a POSIX Thread > environment. > > > On Wed, May 3, 2023 at 05:12 M

Re: libpq and multi-threading

2023-05-03 Thread Michael J. Baars
will result in internal interference. Because libpq makes use of malloc to store results, you will come to find that the CLONE_VM option was not the option you were looking for. On Tue, 2 May 2023, 19:58 Peter J. Holzer, wrote: > On 2023-05-02 17:43:06 +0200, Michael J. Baars wrote: > >

Re: libpq and multi-threading

2023-05-02 Thread Michael J. Baars
Hi David, My mistake. Too much fiddling around, but better than no fiddling around. It appears both sides make mistakes, or does your freely passing around work better than mine? On Tue, 2 May 2023, 17:57 David G. Johnston, wrote: > On Tue, May 2, 2023 at 2:38 AM Michael J. Ba

Re: libpq and multi-threading

2023-05-02 Thread Michael J. Baars
was able to reproduce from here. On Tue, 2 May 2023, 15:49 Laurenz Albe, wrote: > On Tue, 2023-05-02 at 11:38 +0200, Michael J. Baars wrote: > > I have a question about libpq and multi-threading. > > > > In the PostgreSQL documentation ( > https://www.postgresql.org/docs

libpq and multi-threading

2023-05-02 Thread Michael J. Baars
Hi All, I have a question about libpq and multi-threading. In the PostgreSQL documentation ( https://www.postgresql.org/docs/15/libpq-threading.html) it says that results can be passed around freely between threads. However, when I try to read the result from the parent thread, the program

Re: Password reset link / 'less' does not exit in psql version 13.4

2022-07-25 Thread Michael J. Baars
On Mon, 25 Jul 2022, 18:41 Adrian Klaver, wrote: > On 7/25/22 09:23, Michael J. Baars wrote: > > On Mon, 2022-07-25 at 09:13 -0700, Adrian Klaver wrote: > >> On 7/25/22 09:03, Michael J. Baars wrote: > >>> On Mon, 2022-07-25 at 07:55 -0700, Adrian Klaver wrote: >

Re: Password reset link / 'less' does not exit in psql version 13.4

2022-07-25 Thread Michael J. Baars
On Mon, 2022-07-25 at 09:13 -0700, Adrian Klaver wrote: > On 7/25/22 09:03, Michael J. Baars wrote: > > On Mon, 2022-07-25 at 07:55 -0700, Adrian Klaver wrote: > > > On 7/25/22 03:01, Michael J. Baars wrote: > > > > Hello, > > > Are all the clients running on

Re: Password reset link / 'less' does not exit in psql version 13.4

2022-07-25 Thread Michael J. Baars
On Mon, 2022-07-25 at 07:55 -0700, Adrian Klaver wrote: > On 7/25/22 03:01, Michael J. Baars wrote: > > Hello, > > > > I have two very simple questions: > > > > 1) I have an account at postgresql.org, but a link to a 'forgot password' > > seems to

Password reset link / 'less' does not exit in psql version 13.4

2022-07-25 Thread Michael J. Baars
Hello, I have two very simple questions: 1) I have an account at postgresql.org, but a link to a 'forgot password' seems to be missing on the login page. I have my password stored only on an old Fedora 32 computer. To change the password when logged in, you need to supply the old password. In