Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Problem with no...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3391 of 3559
Post > Topic >>

Problem with now() in function pgsql

by luke.78@[EMAIL PROTECTED] ("luke\.78\@[EMAIL PROTECTED] ") Apr 5, 2008 at 07:46 PM

Hi,
I have a problem in a function pgsql with Reading TIMESTAMP calling the
fun=
ction now()
the problem is this:
At the begin of function I read timestamp...
select now() into TS_BEGIN;

the function execute some statement...

Many seconds after I reread the timestamp
select now() into TS_END;

and TS_BEGIN is identical TS_END!!!

Can anyone help me?

Thanks in advance.

Luke.


--=20
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 2 Posts in Topic:
Problem with now() in function pgsql
luke.78@[EMAIL PROTECTED]  2008-04-05 19:46:55 
Re: Problem with now() in function pgsql
aklaver@[EMAIL PROTECTED]  2008-04-05 10:59:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 21:46:39 CDT 2008.