Dereferencing PG_Result

Поиск
Список
Период
Сортировка
От david@tte.tamu.edu
Тема Dereferencing PG_Result
Дата
Msg-id Pine.LNX.3.96.981123094628.21949C-100000@tte.tamu.edu
обсуждение исходный текст
Ответы Re: [INTERFACES] Dereferencing PG_Result
Список pgsql-interfaces
Here's the code:

#!/usr/bin/perl

use Pg

$conn = Pg::connectdb("dbname = mydb");
$result = $conn->exec("select * from mytable");

print $result "\n";

----end code---

This is what's returned:

PG_results=SCALAR(0x8110e14)

----end result-----
Mydb has a table mytable with a field myfield.  There are two tuples.

Question:  How can I deference the pointer to get at the actual data?

David Sweeney
david@tte.tamu.edu




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

Предыдущее
От: postgres@tte.tamu.edu
Дата:
Сообщение: ...
Следующее
От: "REDCYT - Juan Carlos Liendro"
Дата:
Сообщение: Problem Applet-Appletviewer