| От | Bob Lapique |
|---|---|
| Тема | database structure / generic client apps |
| Дата | |
| Msg-id | 200206071652.110c@th00.opsion.fr обсуждение |
| Список | pgsql-interfaces |
I am to write an interface to a database with 38 tables and will have to write others in the future. Instead of creating a form manually for each table, I would like to create them dynamically (Trolltech's Qt). Same with queries. But to do so, I need to know the structure of the database at RUN TIME. The number of fields and their type is given by libpq++. ( Where is the definition of the Oid number returned ? ) >> OK :) BUT I could not find out how to know if a table has a FOREIGN KEY constraint on some other table. And what is its PRIMARY KEY. Yet, PgAdmin manages to do that. Why not me ? ;) Thanks for help. Thanks. ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера