Skip to content

UNLOGGED is dropped from table definitions #423

@ivgiuliani

Description

@ivgiuliani

Given the following schema with an UNLOGGED table (docs):

CREATE UNLOGGED TABLE pgschema_unlogged_repro (
    id integer PRIMARY KEY,
    payload text NOT NULL
);

Running pgschema dump does not include the UNLOGGED modifier and returns an otherwise matching DDL:

CREATE TABLE IF NOT EXISTS pgschema_unlogged_repro (
    id integer,
    payload text NOT NULL,
    CONSTRAINT pgschema_unlogged_repro_pkey PRIMARY KEY (id)
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions