Re: User defined types and storage variance - Mailing list pgsql-general

From Tom Lane
Subject Re: User defined types and storage variance
Date
Msg-id 6039.1011134322@sss.pgh.pa.us
Whole thread Raw
In response to User defined types and storage variance  (Dave Trombley <dtrom@bumba.net>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Dave Trombley
Date:
Subject: User defined types and storage variance
Next
From: "Jeff Lu"
Date:
Subject: Is there is shutdown utility for postgresql?