Re: Re: Primary Key

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Re: Primary Key
Дата
Msg-id 3B2FDD4A.6DF62B16@tpf.co.jp
обсуждение исходный текст
Ответ на Re: Primary Key  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"P. Dwayne Miller" wrote:
> 
> My bad on the syntax of all three.  I used your syntax (which is what I had originally used) and
> got the same results with the \d command that you show.
> 
> I'm only using Cold Fusion to read data from the resulting table, not create the table... and I
> still get an error when I have created the primary key using the table constraint syntax. Cold
> Fusion is reporting that the primary key has been defined for the column oid.  Using the correct
> syntax with the first two CREATE TABLE statements, Cold Fusion reports the primary key field as
> msgid.
> 

SQLPrimaryKey() in the current psqlodbc driver doesn't
report the Primary key other than tablename_pkey.
It seems the cause.
I would change the implementatin of SQLPrimaryKey().
Dwayne, could you try the modified driver ?

regards,
Hiroshi Inoue


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

Предыдущее
От: Naomi Walker
Дата:
Сообщение: Backup and Recovery
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] [PATCH] Contrib C source for casting MONEY to INT[248] and FLOAT[48]