pg_dump -t broken for mixed case table names in beta3?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump -t broken for mixed case table names in beta3?
Date: 2006-11-28 19:27:55
Message-ID: 456C395A.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

Unless I'm missing something, pg_dump is not allowing selective dump of
a table where the table name is mixed case. The -t switch still works
for lower case. Even though quotes weren't previously needed on the
pg_dump command line, I tried that with no better luck.

postgres(at)DTR3:~> psql dtr
Welcome to psql 8.2beta3, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

dtr=# \d "DbTranLogRecord"
Table "public.DbTranLogRecord"
Column | Type | Modifiers
----------------+-------------------+-----------
countyNo | "CountyNoT" | not null
tranImageSeqNo | "TranImageSeqNoT" | not null
logRecordSeqNo | "LogRecordSeqNoT" | not null
operation | "OperationT" | not null
tableName | "TableNameT" | not null
Indexes:
"DbTranLogRecordPK" PRIMARY KEY, btree ("countyNo",
"tranImageSeqNo", "logRecordSeqNo")
"DbTranLogRecord_tableName" btree ("countyNo", "tableName",
operation)

dtr=# \q
postgres(at)DTR3:~> pg_dump -s -t DbTranLogRecord dtr
pg_dump: No matching tables were found
postgres(at)DTR3:~>

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2006-11-28 19:43:17 Re: pg_dump -t broken for mixed case table names in beta3?
Previous Message Tom Lane 2006-11-28 15:05:37 Re: DTrace docs, Open Items and Performance

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-11-28 19:32:29 Re: [HACKERS] FAQs and Port Status
Previous Message Brad Nicholson 2006-11-28 19:22:52 Re: Integrating Replication into Core

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-11-28 19:43:17 Re: pg_dump -t broken for mixed case table names in beta3?
Previous Message Kenneth Marshall 2006-11-28 17:15:27 Re: BLCKSZ fun facts