Skip to content

pgwire: DInterval conversion missing on binary protocol in 2.0 #28134

@knz

Description

@knz

Reported by @mostov on gitter

  • Which version of CockroachDB are you using?

cockroach-v2.0.4.windows-6.2-amd64

  • What did you do?
CREATE TABLE tbl_time_gift (
user_id STRING(128) NOT NULL,
next_gift_time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
FAMILY "primary" (user_id, next_gift_time, rowid)
);
-- ...
select age(next_gift_time ) from tbl_time_gift;
  • What did you expect to see?

successful result

  • What did you see instead?

cockroachdb crashes

Metadata

Metadata

Assignees

Labels

A-sql-pgwirepgwire protocol issues.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-communityOriginated from the communityS-2-temp-unavailabilityTemp crashes or other availability problems. Can be worked around or resolved by restarting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions