Skip to content

timestamptz and json should work for WIT #373

@akacase

Description

@akacase

Bug report

timestamptz and json aren't implemented, even though exposed via the TypeOid and Cell enums.

Describe the bug

No matter the implementation, upon matching column.type_oid() in a match block, it will throw without fail on two needed
column types for us:

timestamptz and json

To Reproduce

Create a foreign table with a json or timestamptz column defined and accept input from an API that should match those types, postgres will spit out these errors:

2024-11-30 21:36:54.885 EST [16441] STATEMENT:  select * from users;
2024-11-30 21:40:20.688 EST [16923] ERROR:  not implemented

Expected behavior

The implementation should match and parse the content with the interfaces provided with the Wasm Interface.

System information

  • OS: macOS
  • Postgres: 16 (with wrappers built and installed locally)
  • Rust: 1.83.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions