PG Problems
| От | ALASTAIR JOHN TAYLOR | 
|---|---|
| Тема | PG Problems | 
| Дата | |
| Msg-id | 3.0.1.32.20000421143024.00901d60@pophost.aber.ac.uk обсуждение исходный текст | 
| Ответы | Re: PG Problems How to get the size of a large object? | 
| Список | pgsql-general | 
Hello,
I was wondering if anyone could help me with a little problem with the Pg
module - I've looked at the manual, but I can't work it out.....
------------------------------------------------------------
$conn = Pg::connectdb("host=...................");
$query = "select timeone from times where racer='$name'";
$result = $conn->exec($query);
$result->print(stdout, ..............);
------------------------------------------------------------
The above code works without any problem, as it should, and prints out a
value, but as soon as I try to add another query/result I get problems...
ie.
--------------------------------------------------------------
$querytwo = "select timetwo from times where racer='$name'";
$resulttwo = $conn->exec($querytwo);
$total = $result + $resulttwo;
$total->print(stout,..........);
--------------------------------------------------------------
I know the problem comes in with the addition of pointers, but I'm at a
dead-end.
Any suggestions?
Thanks in advance, Alastair
		
	В списке pgsql-general по дате отправления: