Search Postgresql Archives

Re: Non-storable data type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniele Varrazzo <daniele.varrazzo@xxxxxxxxx> writes:
> Hello,
> writing an extension library, I have a type only used to perform
> efficient in-place aggregation, but absolutely not to be used as a
> data type into a table (it contains pointers, so it would be a
> guaranteed crash).

> Is there a way to mark the type as non-storable?

Can you avoid making it a type at all?  I think there are existing
examples of aggregates that just declare their state value as INTERNAL.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux