Re: User defined types and storage variance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Trombley <dtrom(at)bumba(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: User defined types and storage variance
Date: 2002-01-15 22:38:42
Message-ID: 6039.1011134322@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Trombley <dtrom(at)bumba(dot)net> writes:
> Is it correct of me to assume that the concrete storage of a user
> defined type, defined in C, must not contain any references to
> structures allocated per-object?

The concrete storage has to be a flat chunk of memory --- no pointers,
nothing that can't survive being moved around. You don't get to control
moving, copying, or deleting.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Harald Armin Massa 2002-01-15 23:03:25 Different views with same name for different users
Previous Message Jan Wieck 2002-01-15 21:14:58 Re: Problem whith table views.