pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: silly sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: Re: How to get CURRENT_DATE in a pl/pgSQL function
Date: Wed, 19 May 2010 12:26:07 +0400
Message-ID: <4BF3A09F.9090906@bankir.ru> (raw)
In-Reply-To: <20100518192721.GS3892@aart.is.rice.edu>
References: <20100518190832.GQ3892@aart.is.rice.edu>
	<AANLkTimTUkyiFR0-o90bTmRHwK3T13mZTgyOu3m-gYMH@mail.gmail.com>
	<20100518192721.GS3892@aart.is.rice.edu>

On 05/18/10 23:27, Kenneth Marshall wrote:

> It works using 'now' and I assume that since curtime is

now() is NOT the CURRENT timestamp in fact,
it is about the timestamp of the current transaction has been started.

it is the really USEFUL value, still u have to remember this meaning.



view thread (11+ messages)  latest in thread

Message-ID: <4BF3A09F.9090906@bankir.ru>
Permalink:  ../4BF3A09F.9090906@bankir.ru/
Also on:    postgresql.org/message-id/4BF3A09F.9090906@bankir.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sad@bankir.ru
  Subject: Re: How to get CURRENT_DATE in a pl/pgSQL function
  In-Reply-To: <4BF3A09F.9090906@bankir.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox