| From: | Joel Burton <jburton(at)scw(dot)org> |
|---|---|
| To: | Juan <jcorta(at)tribctas(dot)gba(dot)gov(dot)ar> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: pl/pgsql |
| Date: | 2001-04-23 13:52:16 |
| Message-ID: | Pine.LNX.4.21.0104230950230.23833-100000@olympus.scw.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Mon, 23 Apr 2001, Juan wrote:
> does anyone know where i found documentation about pl/pgsql ?
Documentation is in the Developer's Manual, at www.postgresql.org.
> i have a variable typed date and i need to get day month and year, how can i
> do that?
> e.g:
>
> function test(date)
> day = day($1);
> month = month ($1);
> year = year($1);
You don't need pl/pgsql for this. There are features built-in to
PG for these:
--
Joel Burton <jburton(at)scw(dot)org>
Director of Information Systems, Support Center of Washington
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Lark | 2001-04-23 13:58:12 | Can store binary data? |
| Previous Message | Juan | 2001-04-23 13:44:08 | pl/pgsql |