Thread: Primar keys in tables

Primar keys in tables

From
"Erny"
Date:
Dear everybody,

I use Postgresql-7.1 under Win/NT4 winth cygwin1.3.1

Whenever I create a table with primary keys, and access it with pgaccess or
python-pygres it seems not to see the primary key.

I found out that the pg_class system catalog was not updated correctly in
that the relhaspkey field is still set to f (false). When I change it to
't', both interfaces see the primary key and know what columns belong to it.

Is this a bug or what else?

Erny
Spain