On 1/2/19 5:09 PM, Chapman Flack wrote:
> On 1/2/19 2:45 PM, Devrim Gündüz wrote:
>
>>> More on that (and also on debuginfo and examples) was in [1].
>>
>> They are already in 1.5.2-1.
>>
>> Pushed 1.5.2-2 to repos, that include the .sql files.
>
> Ah, there they are. Thanks!
It turns out to be almost right. The update .sql files appear
to be links to pljava--1.5.2.sql, but that is the file used for
a new installation. ALTER EXTENSION UPDATE fails if that file is used.
There is a file in the source tree named pljava--.sql and that
one is the template for all (trivial) update scripts. The
installer jar produced by the build process simply includes that
file under all of the necessary update script names (and not
under its own name).
It would be possible to do that, or to make one of the named
update scripts a copy of it and the rest all links to that one,
etc.
Sorry for the unexpected structure.
-Chap