postgresql/src/backend/commands
Heikki Linnakangas a5be6e9a1d Fix comments that claimed that mblen() only looks at first byte.
GB18030's mblen() function looks at the first and the second byte of the
multibyte character, to determine its length. copy.c had made the
assumption that mblen() only looks at the first byte, but it turns out to
work out fine, because of the way the GB18030 encoding works. COPY will
see a 4-byte encoded character as two 2-byte encoded characters, which is
enough for COPY's purposes. It cannot mix those up with delimiter or
escaping characters, because only single-byte ASCII characters are
supported as delimiters or escape characters.

Discussion: https://www.postgresql.org/message-id/7704d099-9643-2a55-fb0e-becd64400dcb%40iki.fi
2019-01-25 14:54:38 +02:00
..
aggregatecmds.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
alter.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
amcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
analyze.c Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c. 2019-01-21 17:07:10 -08:00
async.c Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c. 2019-01-21 17:07:10 -08:00
cluster.c Rename RelationData.rd_amroutine to rd_indam. 2019-01-21 17:36:55 -08:00
collationcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
comment.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
constraint.c Move generic snapshot related code from tqual.h to snapmgr.h. 2019-01-21 17:06:41 -08:00
conversioncmds.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
copy.c Fix comments that claimed that mblen() only looks at first byte. 2019-01-25 14:54:38 +02:00
createas.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
dbcommands.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
define.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
discard.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
dropcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
event_trigger.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
explain.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
extension.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
foreigncmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
functioncmds.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
indexcmds.c Remove argument isprimary from index_build() 2019-01-24 07:57:09 +09:00
lockcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
Makefile Move vacuumlazy.c into access/heap. 2019-01-15 12:06:19 -08:00
matview.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
opclasscmds.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
operatorcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
policy.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
portalcmds.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
prepare.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
proclang.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
publicationcmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
schemacmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
seclabel.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
sequence.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
statscmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
subscriptioncmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
tablecmds.c Allow generalized expression syntax for partition bounds 2019-01-25 11:28:49 +01:00
tablespace.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
trigger.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
tsearchcmds.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
typecmds.c Replace uses of heap_open et al with the corresponding table_* function. 2019-01-21 10:51:37 -08:00
user.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
vacuum.c Remove superfluous tqual.h includes. 2019-01-21 12:15:02 -08:00
variable.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
view.c Replace heapam.h includes with {table, relation}.h where applicable. 2019-01-21 10:51:37 -08:00