pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Wei Weng <wweng@kencast.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Extending Datatype
Date: Thu, 13 Feb 2003 18:06:27 -0500 (EST)
Message-ID: <200302132306.h1DN6Rt27252@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0302131651260.22637-100000@localhost.localdomain>


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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (4+ messages)  latest in thread

Message-ID: <200302132306.h1DN6Rt27252@candle.pha.pa.us>
Permalink:  ../200302132306.h1DN6Rt27252@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302132306.h1DN6Rt27252@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, wweng@kencast.com
  Subject: Re: Extending Datatype
  In-Reply-To: <200302132306.h1DN6Rt27252@candle.pha.pa.us>

* 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