pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: azah azah <izza76@gmail.com>
To: Rod Taylor <pg@rbt.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: date_format in postresql
Date: Wed, 21 Jul 2004 11:53:14 +0800
Message-ID: <235b1a28040720205322cc291c@mail.gmail.com> (raw)
In-Reply-To: <1090377577.12565.13.camel@jester>
References: <235b1a28040720175570f4225a@mail.gmail.com>
	<1090377577.12565.13.camel@jester>

Thanks Chris and Rod.

I think I have a problem because not many function existing in
postresql that i installed.
How can i get all the build-in functions because the basic function
to_char is not existing in the database?

On Tue, 20 Jul 2004 22:39:38 -0400, Rod Taylor <pg@rbt.ca> wrote:
> On Tue, 2004-07-20 at 20:55, azah azah wrote:
> > Hi,
> > I want convert from mysql to postresql,
> > in mysql, query to database using the code as below:
> >
> > date_format(submittime, "%W %M %e, %Y - %r")
> 
> to_char(submittime, 'format string')
> 
> http://www.postgresql.org/docs/7.4/static/functions-formatting.html
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>



view thread (7+ messages)  latest in thread

Message-ID: <235b1a28040720205322cc291c@mail.gmail.com>
Permalink:  ../235b1a28040720205322cc291c@mail.gmail.com/
Also on:    postgresql.org/message-id/235b1a28040720205322cc291c@mail.gmail.com

 · 

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: izza76@gmail.com, pg@rbt.ca
  Subject: Re: date_format in postresql
  In-Reply-To: <235b1a28040720205322cc291c@mail.gmail.com>

* 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