Closed japinli closed 3 months ago
This commit also changes the column type length judgment in ReadChunkGroupNextVector(). According to Postgres code, not all platforms have sizeof(Datum) == 8 [1], so it might be better to use sizeof(Datum) instead of the magic number 8.
ReadChunkGroupNextVector()
sizeof(Datum) == 8
sizeof(Datum)
[1] https://github.com/postgres/postgres/blob/master/src/include/postgres.h#L58
This commit also changes the column type length judgment in
ReadChunkGroupNextVector()
. According to Postgres code, not all platforms havesizeof(Datum) == 8
[1], so it might be better to usesizeof(Datum)
instead of the magic number 8.[1] https://github.com/postgres/postgres/blob/master/src/include/postgres.h#L58