General Bug Report: Handling of quoted identifiers and sequences - Mailing list pgsql-bugs

From Unprivileged user
Subject General Bug Report: Handling of quoted identifiers and sequences
Date
Msg-id 199903121108.GAA92873@hub.org
Whole thread Raw
Responses Re: [BUGS] General Bug Report: Handling of quoted identifiers and sequences
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Stefan Wehner
Your email address    : wehner@digital-security.com

Category        : runtime: back-end: SQL
Severity        : serious

Summary: Handling of quoted identifiers and sequences

System Configuration
--------------------
  Operating System   : Linux 2.0.36

  PostgreSQL version : 6.4.2

  Compiler used      : gcc

Hardware:
---------


Versions of other tools:
------------------------


--------------------------------------------------------------------------

Problem Description:
--------------------
Quoted Identifiers will not work with sequences
This includes SERIAL !

--------------------------------------------------------------------------

Test Case:
----------
create table "AA" ( x int4 , y serial );
insert into "AA" (x) values (1);

--------------------------------------------------------------------------

Solution:
---------
in src/backend/parser/parse_function.c there is the
handling routine for nextval etc.
there is an unconditional lowercasing there that will need
to be fixed for quoted identifiers

--------------------------------------------------------------------------


pgsql-bugs by date:

Previous
From: Unprivileged user
Date:
Subject: General Bug Report: Handling of quoted identifiers and sequences
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] SQL optimisation dead loop