Skip to content

POSTGRESQL create table ( ctime timestamp(0) WITH TIME ZONE) format issue #618

Closed

Description

@xiangnanscu

Describe the bug
WITH

Expected behavior

CREATE TABLE usr(
  id SERIAL PRIMARY KEY NOT NULL,
  ctime timestamp(0) WITH TIME ZONE,
  username varchar(18) UNIQUE
);

Actual behavior

CREATE TABLE
  usr (
    id SERIAL PRIMARY KEY NOT NULL,
    ctime timestamp(0)
    WITH
      TIME ZONE,
      username varchar(18) UNIQUE
  );

Usage

Activity

  1. changed the title [-]POSTGRESQL create table ( ctime timestamp(0) WITH TIME ZONE DEFAULT ) format issue[/-] [+]POSTGRESQL create table ( ctime timestamp(0) WITH TIME ZONE) format issue[/+] on Jul 5, 2023
  2. nene commented on Jul 8, 2023

    @nene
    Collaborator

    Thanks for reporting.

    Possibly this can be patched, but it's really a sign of more fundamental problems with the formatter.

  3. added a commit that references this issue on Aug 15, 2024
    ad78021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions