<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LOLOR on Mimus</title><link>https://mimus.pgsty.com/docs/spock/upstream/lolor/</link><description>Recent content in LOLOR on Mimus</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://mimus.pgsty.com/docs/spock/upstream/lolor/index.xml" rel="self" type="application/rss+xml"/><item><title>Using pg_upgrade with lolor</title><link>https://mimus.pgsty.com/docs/spock/upstream/lolor/pg-upgrade-with-lolor/</link><guid>https://mimus.pgsty.com/docs/spock/upstream/lolor/pg-upgrade-with-lolor/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;Upstream reference for LOLOR 1.3.0-dev. Mimus 19.0.1 integrates &lt;a href="https://mimus.pgsty.com/docs/spock/"&gt;Spock 5.0.15&lt;/a&gt;. Compatibility of LOLOR with Mimus is unverified.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;The &lt;code&gt;pg_upgrade&lt;/code&gt; utility is used for upgrading Postgres versions.&lt;/p&gt;&#10;&lt;p&gt;You can use &lt;code&gt;pg_upgrade&lt;/code&gt; with the &lt;code&gt;lolor&lt;/code&gt; extension installed provided that you are using lolor version 1.2.2 or later. If you are using an older version of lolor, you will need to upgrade the extension first.&lt;/p&gt;&#10;&lt;p&gt;Both clusters must list &lt;code&gt;lolor&lt;/code&gt; in &lt;code&gt;shared_preload_libraries&lt;/code&gt;; without it the new cluster cannot load lolor&amp;rsquo;s library, so restoring the extension fails.&lt;/p&gt;</description></item><item><title>Using lolor</title><link>https://mimus.pgsty.com/docs/spock/upstream/lolor/using-lolor/</link><guid>https://mimus.pgsty.com/docs/spock/upstream/lolor/using-lolor/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;Upstream reference for LOLOR 1.3.0-dev. Mimus 19.0.1 integrates &lt;a href="https://mimus.pgsty.com/docs/spock/"&gt;Spock 5.0.15&lt;/a&gt;. Compatibility of LOLOR with Mimus is unverified.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;The following command examples demonstrate using lolor:&lt;/p&gt;&#10;&lt;div class="td-code td-code--untitled" id="td-code-0154571f-fence-0" data-td-code data-td-code-auto-id&#10; data-td-language="" data-td-line-count="51"&gt;&#10; &lt;div class="td-code__viewport" id="td-code-0154571f-fence-0-viewport" data-td-code-viewport&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;-- Create a large object with no data and return the oid:&#10;lolor_db=# SELECT lo_creat (-1);&#10; lo_creat &#10;----------&#10; 1100433&#10;(1 row)&#10;&#10;-- Querying the lolor schema for related stats:&#10;lolor_db=# SELECT * FROM lolor.pg_largeobject_metadata where oid = 1100433:&#10; oid | lomowner | lomacl &#10;---------+----------+--------&#10; 1100433 | 10 | &#10;(1 row)&#10;&#10;-- Creating an empty large object with oid 200000:&#10;lolor_db=# SELECT lo_create (200000);&#10; lo_create &#10;-----------&#10; 200000&#10;(1 row)&#10;&#10;-- Get related stats&#10;lolor_db=# SELECT * FROM lolor.pg_largeobject_metadata where oid = 200001:&#10; oid | lomowner | lomacl &#10;--------+----------+--------&#10; 200001 | 10 | &#10;(1 row)&#10;&#10;-- Import an operating system file as a large object:&#10;lolor_db=# SELECT lo_import (&amp;#39;/etc/os-release&amp;#39;);&#10; lo_import&#10;-----------&#10; 1100449&#10;(1 row)&#10;&#10;-- Return information about the large object:&#10;lolor_db=# SELECT * FROM&#10; lolor.pg_largeobject where loid = 1100449;&#10; loid | pageno | data &#10; 1100449 | 0 | \x5052455454595f4e414d453d2244656269616e20474e552f4c696e75782031322028626f6f6b776f726d29220a4e414d453d2244656269616e20474e552f4c696e7578220a56455&#10;253494f4e5f49443d223132220a56455253494f4e3d2231322028626f6f6b776f726d29220a56455253494f4e5f434f44454e414d453d626f6f6b776f726d0a49443d64656269616e0a484f4d455f55524c3d&#10;2268747470733a2f2f7777772e64656269616e2e6f72672f220a535550504f52545f55524c3d2268747470733a2f2f7777772e64656269616e2e6f72672f737570706f7274220a4255475f5245504f52545f5&#10;5524c3d2268747470733a2f2f627567732e64656269616e2e6f72672f220a&#10;(1 row)&#10;&#10;-- Unlink a large object:&#10;lolor_db=# SELECT lo_unlink (1100449);&#10; lo_unlink &#10;-----------&#10; 1&#10;(1 row)&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;&lt;a href="https://github.com/pgEdge/lolor/blob/1548836b0df0819e5415a9d0574afd93e9a64f1d/docs/using_lolor.md"&gt;Upstream source&lt;/a&gt; · &lt;code&gt;1548836b0df0&lt;/code&gt; · Copyright (c) 2024–2026, pgEdge, Inc. &lt;a href="https://mimus.pgsty.com/docs/spock/upstream/about/license/"&gt;PostgreSQL License&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>lolor Release Notes</title><link>https://mimus.pgsty.com/docs/spock/upstream/lolor/lolor-release-notes/</link><guid>https://mimus.pgsty.com/docs/spock/upstream/lolor/lolor-release-notes/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;Upstream reference for LOLOR 1.3.0-dev. Mimus 19.0.1 integrates &lt;a href="https://mimus.pgsty.com/docs/spock/"&gt;Spock 5.0.15&lt;/a&gt;. Compatibility of LOLOR with Mimus is unverified.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="lolor-130"&gt;lolor 1.3.0&#10;&lt;/h2&gt;&#10;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Unreleased development version&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;These notes describe pinned &lt;code&gt;main&lt;/code&gt; development. The latest stable tag checked on November 21, 2026 remains &lt;code&gt;v1.2.3&lt;/code&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Removal in the 1.3.0 development snapshot&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;On a normal drop, the event trigger checks replication and stored objects, then calls &lt;code&gt;lolor.disable()&lt;/code&gt; if needed to restore the native function names. The object-access hook rejects removal if those names are still parked. Migrate the objects back to native storage before dropping the extension. &lt;a href="https://github.com/pgEdge/lolor/blob/1548836b0df0819e5415a9d0574afd93e9a64f1d/src/lolor.c#L982-L1060"&gt;Pinned implementation&lt;/a&gt;&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Installing and Configuring lolor</title><link>https://mimus.pgsty.com/docs/spock/upstream/lolor/install-configure/</link><guid>https://mimus.pgsty.com/docs/spock/upstream/lolor/install-configure/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;Upstream reference for LOLOR 1.3.0-dev. Mimus 19.0.1 integrates &lt;a href="https://mimus.pgsty.com/docs/spock/"&gt;Spock 5.0.15&lt;/a&gt;. Compatibility of LOLOR with Mimus is unverified.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;lolor is supported on Postgres versions 16 and later.&lt;/p&gt;&#10;&lt;p&gt;lolor ships with pgEdge Distributed Postgres and pgEdge Enterprise Postgres, so a pgEdge deployment provides the extension for you. The Control Plane installs the lolor package on each node as part of standard cluster setup.&lt;/p&gt;&#10;&lt;p&gt;If you manage Postgres yourself, you can compile and install the extension from the &lt;a href="https://github.com/pgEdge/lolor"&gt;source code&lt;/a&gt;, following the same guidelines as any other Postgres extension built with PGXS. Make sure that your PATH environment variable includes the directory where &lt;code&gt;pg_config&lt;/code&gt; (under your PostgreSQL installation) is located.&lt;/p&gt;</description></item></channel></rss>