[FEATURE] : Support User defined Types

Open
#178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, postgresql
Domain
databases

Research direction

No files or tests are named. Start with the linked PostgreSQL user-defined types documentation, then trace the repository's schema-diff and SQL-migration entry points; done means the requested user-defined data type behavior is supported and covered by appropriate validation.

Written by the indexing model from the issue text.

Description

enhancement

Describe the feature
Support User defined types

https://www.postgresql.org/docs/current/xtypes.html

Example :

CREATE TYPE udt_KeyValue AS (
    Key INT,
    Value VARCHAR(1000)
);

*Motivation

PGSQL does not support user-defined table types, but it does support user-defined data types. we use them to store csv data in user defined types and refctor them

Dominant language
Go
Stars
884
Forks
82
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stripe/pg-schema-diff

All issues in stripe/pg-schema-diff

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.