From: | "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org> |
---|---|
To: | pgsql-hackers(at)postgreSQL(dot)org, pgsql-bugs(at)postgreSQL(dot)org |
Subject: | [REL6.4] Mixed case table name problems with some fixes. |
Date: | 1998-11-15 07:02:36 |
Message-ID: | 199811150702.CAA20616@bgalli.mug.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Billy G. Allie
Your email address : Bill(dot)Allie(at)mug(dot)org
System Configuration
---------------------
Architecture (example: Intel Pentium) : Intel 486DX2
Operating System (example: Linux 2.0.26 ELF) : UnixWare 7.0
PostgreSQL version (example: PostgreSQL-6.4) : PostgreSQL-6.4
Compiler used (example: gcc 2.8.0) : Optimizing C Compilation System
(CCS) 3.2 08/18/98 (u701)
Please enter a FULL description of your problem:
------------------------------------------------
There are a number of problems with using mixed case table names:
1. Using constraints on tables whose name contains mixed case will fail.
2. Creating triggers on tables whose name contains mixed case will fail.
3. In pgsql, the command '\d *' will fail.
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
1. Create a table that has a mixed case name and a constraint such as
a default or a primary key.
2. Create a trigger on a table with a mixed case name.
3. In psql, execute the '\d *' command in a database that has tables
mixed case names.
If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
The following patch file fixes problems 1 and 3. Thomas G. Lockhart's
patch to fix problem 1 was incomplete. I added the additional changes
to 'heap.c' that were needed to complete the fix.
Attachment | Content-Type | Size |
---|---|---|
uw7-0.patch | application/x-patch | 2.6 KB |
unknown_filename | text/plain | 223 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Terry Mackintosh | 1998-11-15 13:13:29 | Re: [HACKERS] BIG grant problem |
Previous Message | Billy G. Allie | 1998-11-15 06:56:47 | [REL6.4] Mixed case table name problems with some fixes. |