Re: Bootstrapping fails trying determine data type on Postgresql 14
Karsten Hilbert <[email protected]> Sun, 8 Jan 2023 14:23:25 +0100
| Newsgroups | gmane.comp.gnu.medical.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Fri, Jan 06, 2023 at 04:11:48PM +0100 schrieb Karsten Hilbert: > > > The approach was > > > > > > if pg_typeof(_value) in (text, char, varchar, name) then > > > val_type := ''string''; > > > elsif pg_typeof(_value) in (smallint, integer, bigint, numeric, > > > boolean) then > > > val_type := ''numeric''; > > > elsif pg_typeof(_value)::text = ''bytea'' then > > > val_type := ''data''; > > > elsif pg_typeof(_value)::text = ''text[]'' then > > > val_type := ''str_array''; > > > else > > > raise exception ''cfg.set_option(text, any, text, text, > > > text): invalid type of value''; > > > end if; ... > I have backported the proper pg_typeof fix, a > bootstrap-latest is test running ATM. It will be > released with v1.8.9. It's been tested and pushed to git, including another fix having been found along the way. This will be released with 1.8.9 "soon". Meanwhile one could either clone the git repository or get an archive thereof as described under "For developers" in: https://www.gnumed.de/documentation/GNUmedInstallation.html Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B