-- -- Test that partitioned-index operations cope with objects that are -- not in the secure search path. (This has little to do with seg, -- but we need an opclass that isn't in pg_catalog, and the base system -- has no such opclass.) Note that we need to test propagation of the -- partitioned index's properties both to partitions that pre-date it -- and to partitions created later. --
create function mydouble(int) returns int strict immutable parallel safe
begin atomic select $1 * 2; end;
create collation mycollation from"POSIX";
createtable pt (category int, sdata seg, tdata text)
partition by list (category);
-- pre-existing partition createtable pt12 partition of pt forvaluesin (1,2);
insertinto pt values(1, '0 .. 1'::seg, 'zed');
-- expression references object in public schema createindex pti1 on pt ((mydouble(category) + 1)); -- opclass in public schema createindex pti2 on pt (sdata seg_ops); -- collation in public schema createindex pti3 on pt (tdata collate mycollation);
-- new partition createtable pt34 partition of pt forvaluesin (3,4);
insertinto pt values(4, '-1 .. 1'::seg, 'foo');
\d+ pt
\d+ pt12
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.18Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-08-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.