pgschema icon indicating copy to clipboard operation
pgschema copied to clipboard

pgschema dump outputs `char[]` for columns declared as `name`

Open ivgiuliani opened this issue 7 months ago • 0 comments

Given the following schema with the built-in name type for one of its columns:

CREATE TABLE pgschema_name_repro (n name);

pgschema dump incorrectly returns char[] as it's type:

CREATE TABLE IF NOT EXISTS pgschema_name_repro (
    n char[]
);

ivgiuliani avatar Apr 27 '26 10:04 ivgiuliani