Troubleshooting RHDB Administrator

Startup Problems

Case-Sensitivity Problems

Suppose that you try to create a table aaa with a column "COL1" of type integer and add a check to determine if COL1 > 0. The SQL generated is:

CREATE  TABLE "aaa" ("COL1" integer  CHECK (COL1 > 0))

The backend will return the error:

Attribute 'col1' not found

What has happened is that PostgreSQL has converted the unquoted name COL1 in the CHECK to lower case. (This behavior is incompatible with the SQL standard, which says that unquoted names should be folded to upper case.) To overcome this problem, either use lowercase names or ensure that you apply double-quotes to all names that contain uppercase letters.