Thread

Commits

  1. Fix allocation check to test the right variable

  1. Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

    Ranier Vilela <ranier.vf@gmail.com> — 2025-06-17T13:40:27Z

    Hi.
    
    In the function *PQcancelCreate* there is a copy-and-past thinko.
    The pointer that must be checked is cancelConn.
    
    Trivial patch attached.
    
    best regards,
    Ranier Vilela
    
  2. Re: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

    Daniel Gustafsson <daniel@yesql.se> — 2025-06-17T13:42:08Z

    > On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
    
    > In the function *PQcancelCreate* there is a copy-and-past thinko.
    > The pointer that must be checked is cancelConn.
    > 
    > Trivial patch attached.
    
    Nice catch, will fix.
    
    --
    Daniel Gustafsson
    
    
    
    
    
  3. Re: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

    Ranier Vilela <ranier.vf@gmail.com> — 2025-06-17T13:54:45Z

    Em ter., 17 de jun. de 2025 às 10:42, Daniel Gustafsson <daniel@yesql.se>
    escreveu:
    
    > > On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
    >
    > > In the function *PQcancelCreate* there is a copy-and-past thinko.
    > > The pointer that must be checked is cancelConn.
    > >
    > > Trivial patch attached.
    >
    > Nice catch, will fix.
    >
    v1 attached, thanks.
    
    best regards,
    Ranier Vilela
    
  4. Re: Fix copy-and-past thinko (src/interfaces/libpq/fe-cancel.c)

    Ranier Vilela <ranier.vf@gmail.com> — 2025-06-18T17:15:50Z

    Em ter., 17 de jun. de 2025 às 10:42, Daniel Gustafsson <daniel@yesql.se>
    escreveu:
    
    > > On 17 Jun 2025, at 15:40, Ranier Vilela <ranier.vf@gmail.com> wrote:
    >
    > > In the function *PQcancelCreate* there is a copy-and-past thinko.
    > > The pointer that must be checked is cancelConn.
    > >
    > > Trivial patch attached.
    >
    > Nice catch, will fix.
    >
    Thanks for the commit, Daniel.
    
    best regards,
    Ranier Vilela