How can I replace the year of the created_at column with the current year dynamically ? - Mailing list pgsql-general

From Arup Rakshit
Subject How can I replace the year of the created_at column with the current year dynamically ?
Date
Msg-id 1404282453.93408.YahooMailNeo@web193903.mail.sg3.yahoo.com
Whole thread Raw
Responses Re: How can I replace the year of the created_at column with the current year dynamically ?  (Michael Paquier <michael.paquier@gmail.com>)
Re: How can I replace the year of the created_at column with the current year dynamically ?  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
Here is my try :

staging::=> select  to_char(created_at,'DD/MM') || '/' || to_char(now(),'YYYY') as when from users;
    when    
------------
 24/02/2014
 28/02/2014
 02/03/2014
 01/03/2014
 04/03/2014
 02/03/2014
 06/03/2014
 07/05/2014
 02/06/2014
 06/06/2014
 20/02/2014
 20/02/2014
 20/02/2014
 20/06/2014
 20/02/2014
(15 rows)

Can the same be done using any other clever trick ? 

Regards,
Arup Rakshit

pgsql-general by date:

Previous
From: Sim Zacks
Date:
Subject: Re: Validating User Login Within Postgres
Next
From: Jacob Bunk Nielsen
Date:
Subject: Re: Two-way encryption