PG_RETURN_?

From: Don Y <pgsql(at)DakotaCom(dot)Net>
To: pgsql-general(at)postgresql(dot)org
Subject: PG_RETURN_?
Date: 2006-04-30 23:47:19
Message-ID: 44554C87.4030303@DakotaCom.Net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have a set of functions for a data type that return
small integers (i.e. [0..12]). I can, of course, represent
it as a char, short or long (CHAR, INT16 or INT32).
re there any advantages/drawbacks to chosing one particular
PG_RETURN_ type over another (realizing that they are
effectively just casts)?

Thanks!
--don

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Lausin 2006-05-01 00:03:12 Re: Is PostgreSQL an easy choice for a large CMS?
Previous Message Rick Ellis 2006-04-30 23:28:41 Re: pg_dump warings