PG_RETURN_? - Mailing list pgsql-general

From Don Y
Subject PG_RETURN_?
Date
Msg-id 44554C87.4030303@DakotaCom.Net
Whole thread Raw
Responses Re: PG_RETURN_?  (Richard Huxton <dev@archonet.com>)
List 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

pgsql-general by date:

Previous
From: Rick Ellis
Date:
Subject: Re: pg_dump warings
Next
From: "Tony Lausin"
Date:
Subject: Re: Is PostgreSQL an easy choice for a large CMS?