|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23009 pg_select with timestamp
Submitted: 2003-04-01 15:41 UTC Modified: 2003-04-02 10:28 UTC
From: leoguti at iband dot net Assigned: helly (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 4.3.1 OS: ANY
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
6 + 32 = ?
Subscribe to this entry?

 [2003-04-01 15:41 UTC] 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-01 16:18 UTC]
Read the manual on PostgreSQL:

uni=# create table t ( t timestamp with time zone);
uni=# insert into t values ('2003-04-01 22:00:00.0000 GMT');
INSERT 167462 1
 [2003-04-01 16:49 UTC]
Ah sorry, now i know what you meant.
 [2003-04-01 17:29 UTC]
This should be fixed in CVS now. 
 [2003-04-02 10:28 UTC] leoguti at iband dot net
Sorry, my summary must be pg_insert with timestamp 
problem, nor pg_select
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 03:01:27 2024 UTC