[PERL DBI] Insertiing data across multiple tables

Поиск
Список
Период
Сортировка
От JD Wong
Тема [PERL DBI] Insertiing data across multiple tables
Дата
Msg-id cc843d4e0807241336s65e467dcmf69708f2584bce68@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PERL DBI] Insertiing data across multiple tables
Re: [PERL DBI] Insertiing data across multiple tables
Список pgsql-general
Does anybody know how to insert data over multiple tables transactionally?  The relationship is 1:1 with the latter table having a foreign key constraint.  In order to add data to Table2 I need to know the primary key value of the same record in Table1 before it's committed, which in this case is a serial integer which of course is regulated by an implicit index.  Does anybody know how to access a column's index in the Perl DBI?
-thanks

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: mac install question
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: mac install question