#23009 [Opn->Csd]: pg_select with timestamp

From: Date: Tue, 01 Apr 2003 23:29:28 +0000
Subject: #23009 [Opn->Csd]: pg_select with timestamp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36946@lists.php.net to get a copy of this message
 ID:               23009
 Updated by:       jay@php.net
 Reported By:      leoguti at iband dot net
-Status:           Open
+Status:           Closed
 Bug Type:         PostgreSQL related
 Operating System: ANY
 PHP Version:      4.3.1
 Assigned To:      helly
 New Comment:

This should be fixed in CVS now. 
 
J 


Previous Comments:
------------------------------------------------------------------------

[2003-04-01 16:49:44] helly@php.net

Ah sorry, now i know what you meant.

------------------------------------------------------------------------

[2003-04-01 16:18:37] helly@php.net

Read the manual on PostgreSQL:

uni=# create table t ( t timestamp with time zone);
CREATE
uni=# insert into t values ('2003-04-01 22:00:00.0000 GMT');
INSERT 167462 1

------------------------------------------------------------------------

[2003-04-01 15:41:38] leoguti at iband dot net

I can't do that the function work with timestamp with time zone data
type.

I have the table 
create table proob(
 field_proob timestamp with time zone
);

an I tried to do 
<?
$a=array("field_proob"=>"2003-03-30 22:47:52.657715-05");
echo pg_insert($conexion,"proob",$a);
?>

With other data types this function work but with this don't.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23009&edit=1



Thread (5 messages)

« previous php.bugs (#36946) next »