On Sun, Mar 2, 2008 at 9:56 PM, Elf <[EMAIL PROTECTED]> wrote:
>
>  out of curiousity, how can sql be returning symbols, ever?  enums are 
> integers,
>  yes?

Hi Elf,

My reasoning was that I don't want to needlessly restrict what a
database driver returns. In Postgresql's case, for example, the
database can define custom datatypes. It may be possible that a custom
type is best represented by a symbol. When your db has builtin
datatypes for arrays, circles, polygons and MAC addresses, and has an
open system for defining anything else, it broadens one's horizons
somewhat. :-)

In Postgres, Enums are string values in a restricted set. (I gave that
as a *possible* case where symbols might make sense, since they are
interned strings.)

Best,
Graham


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to