| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Wei Weng <wweng(at)kencast(dot)com> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: Extending Datatype |
| Date: | 2003-02-13 23:06:27 |
| Message-ID: | 200302132306.h1DN6Rt27252@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Try the SERIAL data type. It uses sequences and DEFAULT. Read the FAQ.
---------------------------------------------------------------------------
Wei Weng wrote:
> Where can I find a more detailed doc on how to write module for extended
> datatype? There isn't much about it on techdoc.postgresql.org.
>
> (I need to write one for UNIQUEIDENTIFIER.)
>
> Thanks!
>
>
> Wei
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-02-13 23:48:29 | Re: Debugging postmaster to fix possible bug in Postgres? Followup |
| Previous Message | Manfred Koizar | 2003-02-13 23:01:54 | Re: Debugging postmaster to fix possible bug in Postgres? Followup |