Fix comment in copyfrom_internal.h
authorMichael Paquier <michael@paquier.xyz>
Sat, 6 Aug 2022 12:13:45 +0000 (21:13 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 6 Aug 2022 12:13:45 +0000 (21:13 +0900)
COPY_NEW_FE has become COPY_FRONTEND in 3174d69, that has removed the
frontend-backend protocol v2.

Author: Zhang Mingli
Discussion: https://postgr.es/m/aeec12a3-501e-449a-8d25-901c4ff706cf@Spark

src/include/commands/copyfrom_internal.h

index 3df1c5a97cddb8ef1a9a5fd37a80c2509c14e11c..e37c6032ae611170bb6c70a3561fd0e99314e1e2 100644 (file)
@@ -58,7 +58,7 @@ typedef struct CopyFromStateData
        /* low-level state data */
        CopySource      copy_src;               /* type of copy source */
        FILE       *copy_file;          /* used if copy_src == COPY_FILE */
-       StringInfo      fe_msgbuf;              /* used if copy_src == COPY_NEW_FE */
+       StringInfo      fe_msgbuf;              /* used if copy_src == COPY_FRONTEND */
 
        EolType         eol_type;               /* EOL type of input */
        int                     file_encoding;  /* file or remote side's character encoding */