From: Michael Paquier Date: Sat, 6 Aug 2022 12:13:45 +0000 (+0900) Subject: Fix comment in copyfrom_internal.h X-Git-Tag: REL_16_BETA1~2035 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70d25bf70ce2eaed91406f56cd45dcfaa9ecabe0;p=thirdparty%2Fpostgresql.git Fix comment in copyfrom_internal.h 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 --- diff --git a/src/include/commands/copyfrom_internal.h b/src/include/commands/copyfrom_internal.h index 3df1c5a97cd..e37c6032ae6 100644 --- a/src/include/commands/copyfrom_internal.h +++ b/src/include/commands/copyfrom_internal.h @@ -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 */