Skip to content

Commit

Permalink
Merge branch 'master' into nv/alpine-3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 28, 2024
2 parents 06d0c28 + c88936e commit 98cadc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/debezium/converters/int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestAsInt32(t *testing.T) {
assert.ErrorContains(t, err, "value overflows int32")
}
{
// int - just postive enough
// int - just positive enough
value, err := asInt32(int(math.MaxInt32))
assert.NoError(t, err)
assert.Equal(t, int32(math.MaxInt32), value)
Expand Down
2 changes: 1 addition & 1 deletion lib/postgres/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func castColumn(col schema.Column) string {
switch col.Type {
case schema.TimeWithTimeZone:
// If we don't convert `time with time zone` to UTC we end up with strings like `10:23:54-02`
// And pgtype.Time doesn't parse the offset propertly.
// And pgtype.Time doesn't parse the offset properly.
// See https://github.com/jackc/pgx/issues/1940
return fmt.Sprintf(`%s AT TIME ZONE 'UTC' AS %q`, colName, col.Name)
case schema.Array:
Expand Down

0 comments on commit 98cadc1

Please sign in to comment.