Skip to content

pgdiff is finding differences on case sensitive table and column names when there isn't #19

@PedroSolintel

Description

@PedroSolintel

Let's say that in DB1 I have this table:

CREATE TABLE public."Test" (
	"TestID" integer
);

And then let's say that in DB2 I have the exact same table. Pgdiff detects a difference. What's worse, it'll generate the following script:

CREATE TABLE public.Test(); and ALTER TABLE public.Test ADD COLUMN TestID integer;

Which is case insensitive and thus different than the original table. If it were to generate a script, the correct one should be:

CREATE TABLE public."Test"(); and ALTER TABLE public."Test" ADD COLUMN "TestID" integer;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions