Re: User defined types and storage variance

Started by Tom Laneabout 24 years ago1 messagesgeneral
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Dave Trombley <dtrom@bumba.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