============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name :Yury Don Your email address :gercon@vpcit.ru System Configuration --------------------- Architecture (example: Intel Pentium) :Intel Pentium Operating System (example: Linux 2.0.26 ELF) :Linux 2.2.15 Debian PostgreSQL version (example: PostgreSQL-7.0): PostgreSQL-7.0.2 Compiler used (example: gcc 2.8.0) :gcc 2.95.2 Please enter a FULL description of your problem: ------------------------------------------------ After creating table with serial field if table or this field name has an uppercase letters, sequence creating for this field doesn't double quoted. Consequently after dump and restore of table "default nextval" clause contains name of sequence with all characters in lower case and when user inserts data into table an error occured "Relation '...' does not exist". Please describe a way to repeat the problem. Please try to provide a concise reproducible example, if at all possible: ---------------------------------------------------------------------- $ psql mdb ... mdb=# create table "Qq"("Id" serial, "Name" text); NOTICE: CREATE TABLE will create implicit sequence 'Qq_Id_seq' for SERIAL column 'Qq.Id' NOTICE: CREATE TABLE/UNIQUE will create implicit index 'Qq_Id_key' for table 'Qq' CREATE mdb=# \q $ pg_dump -c -t qq -f qq_dump mdb $ psql -e mdb