PostgreSQL upper case schema names end up double quoted #1211
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the first element in the search_path is a quoted upper case string, the doGetCurrentSchemaName method will return this quoted string as the schema name. When the schema name is then used in the creation of the schema_version table, the resulting sql is
CREATE TABLE ""MYSCHEMA""."schema_version" (
"installed_rank" INT NOT NULL,
"version" VARCHAR(50),
"description" VARCHAR(200) NOT NULL,
"type" VARCHAR(20) NOT NULL,
"script" VARCHAR(1000) NOT NULL,
"checksum" INTEGER,
"installed_by" VARCHAR(100) NOT NULL,
"installed_on" TIMESTAMP NOT NULL DEFAULT now(),
"execution_time" INTEGER NOT NULL,
"success" BOOLEAN NOT NULL
) WITH (
OIDS=FALSE
)
The text was updated successfully, but these errors were encountered: