Thread

Commits

  1. Fix comment in copyfrom_internal.h

  2. Remove server and libpq support for old FE/BE protocol version 2.

  1. [Code Comments]enum COPY_NEW_FE is removed

    Zhang Mingli <zmlpostgres@gmail.com> — 2022-08-06T11:20:25Z

    Hi,
    
    Enum COPY_NEW_FE is removed in commit 3174d69fb9.
    
    Should use COPY_FRONTEND instead.
    
    Issue exists on 15 and master.
    
    ```
    typedef struct CopyFromStateData
    
    - StringInfo fe_msgbuf; /* used if copy_src == COPY_NEW_FE */
    + StringInfo fe_msgbuf; /* used if copy_src == COPY_FRONTEND */
    
    ```
    
    Regards,
    Zhang Mingli
    
  2. Re: [Code Comments]enum COPY_NEW_FE is removed

    Michael Paquier <michael@paquier.xyz> — 2022-08-06T12:17:36Z

    On Sat, Aug 06, 2022 at 07:20:25PM +0800, Zhang Mingli wrote:
    > Enum COPY_NEW_FE is removed in commit 3174d69fb9.
    > 
    > Should use COPY_FRONTEND instead.
    > 
    > Issue exists on 15 and master.
    
    This also exists in REL_14_STABLE.  I have fixed that on HEAD, as
    that's just a comment.
    --
    Michael
    
  3. Re: [Code Comments]enum COPY_NEW_FE is removed

    Zhang Mingli <zmlpostgres@gmail.com> — 2022-08-06T13:01:27Z

    Ok, thanks.
    
    Michael Paquier <michael@paquier.xyz>于2022年8月6日 周六20:17写道:
    
    > On Sat, Aug 06, 2022 at 07:20:25PM +0800, Zhang Mingli wrote:
    > > Enum COPY_NEW_FE is removed in commit 3174d69fb9.
    > >
    > > Should use COPY_FRONTEND instead.
    > >
    > > Issue exists on 15 and master.
    >
    > This also exists in REL_14_STABLE.  I have fixed that on HEAD, as
    > that's just a comment.
    > --
    > Michael
    >