accessing PG using Perl:DBI

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема accessing PG using Perl:DBI
Дата
Msg-id 1188461020.18203.64.camel@neuromancer.home.net
обсуждение исходный текст
Ответы Re: accessing PG using Perl:DBI  (Vivek Khera <vivek@khera.org>)
Re: accessing PG using Perl:DBI  (SCassidy@overlandstorage.com)
Список pgsql-general
Hi all,

I'm sure some of you guys do perl-dbi to access perl. need some
pointers. (pg specific I guess)

1. Possible to execute queries to PG using multiple statemments?
eg:
prepare("A")
bind_param($A)
execute()
prepare("BB")
bind_param($B)
execute()
prepare("CC")
bind_param($B)
execute()

right now, I found that this works..

prepare("A;BB;CC")
but not sure how bind_param will work in this context

2. how do I perform a list of SQL using transactions. eg: like above,
but wrap it into a transaction.

Many Thanks



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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Re: Out of Memory - 8.2.4
Следующее
От: rafikoko
Дата:
Сообщение: Re: pg_dump.... pg_restore...how long does it take?