Sergey Karin schrieb:
Yes, it is not a problem via psql. But I want to detect primary key via libpq (e.g using select commands)
Look into informational-schema or start psql with the option -e then use \d+ and see what it prints :-) Regards Tino ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings