[ psqlodbc-Bugs-1000435 ] Special characters in table names

Поиск
Список
Период
Сортировка
От
Тема [ psqlodbc-Bugs-1000435 ] Special characters in table names
Дата
Msg-id 20051121063030.7A1551125011@pgfoundry.org
обсуждение исходный текст
Список pgsql-odbc
Bugs item #1000435, was opened at 2005-11-21 06:30
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000435&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Chris Dunlop (chrisrd)
Assigned to: Nobody (None)
Summary: Special characters in table names

Initial Comment:
I'm not sure if this is actually a MSSQL 2K or a psqlODBC problem...

Exporting a table named "SEARCHMANAGER#CNLKP" (an auto-generated table name) from MSSQL 2K to PG, using psqlODBC
v08.01.01.01,the create table succeeds with a quoted table name, but the data copy fails because the table name isn't
quotedto protect the special characters. 

Using "log_statement = true" in postgresql.conf, the output is:

2005-11-21 17:17:10 [16940] LOG:  statement: CREATE TABLE "SEARCHMANAGER#CNLKP" (
        "RECORD_ID" varchar (32) NOT NULL,
        -- more fields deleted
        )
2005-11-21 17:17:11 [16940] LOG:  statement: SELECT 1
2005-11-21 17:17:11 [16940] LOG:  statement: select * from SEARCHMANAGER#CNLKP
2005-11-21 17:17:11 [16940] ERROR:  syntax error at or near "#" at character 28


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

You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000435&group_id=1000125

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Jay Doggett"
Дата:
Сообщение: Re: Seeting up a DSN programatically
Следующее
От: "Miguel Juan"
Дата:
Сообщение: Re: psqlOdbc Ansi + BDE issues