Problem importing auto-increment fields in MS Access to PostgreSQL.

Поиск
Список
Период
Сортировка
Искать
От
Rich Handler
Тема
Problem importing auto-increment fields in MS Access to PostgreSQL.
Дата
Msg-id
3AE493F3.25516.28C11A4@localhost
Список
0100,0100,0100Hi there


I have a relatively simple problem :  


I have a field named "id" that has type "Auto-number" in an Access database 
table.  


When I export the database via ODBC to a PostgreSQL table, the "auto-
number" property of this field is lost (!) : 

<

CREATE TABLE "names"("id" int4,"name" varchar(50),"tel_no" varchar(50))

<


I also access the PostgreSQL database via a web-based GUI (phpPgAdmin 
from GreatBridge), and when I add new rows to it, the id field does not auto-
increment.


This is my system : 


odbc driver version (on Win machine) : 7.01.00.04 Insight Distrib. 
(PSQLODBC.DLL)


odbc driver version (on Red Hat machine) : postgresql-odbc-7.0.2-17.rpm


postgre database version : postgresql-7.0.2.rpm


error messages on screen : none.


the commlog file : see attached file (psqlodbc.log)



0100,0100,0100Suggestions, workarounds and prayers would be appreciated !


love

rich handler



The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
  ---- File information -----------    File:  psqlodbc.log    Date:  23 Apr 2001, 20:35    Size:  3731 bytes.    Type:  Unknown
В списке pgsql-interfaces по дате отправления
От: Alexey Nalbat
Дата:
От: Rich Handler
Дата:
FAQ