Bug 128488 - sdbc postgresql stops working with postgresql 12 version
Summary: sdbc postgresql stops working with postgresql 12 version
Status: RESOLVED DUPLICATE of bug 128111
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-31 05:23 UTC by Kamil Jońca
Modified: 2019-10-31 06:20 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Jońca 2019-10-31 05:23:18 UTC
First of all I do not know if it is best place for this bug - but I have nothing better.

By debian installation stops working with postgresql 12 version. A lot of mysterious bug (table public.xxx does not exists and so on)

In postgres log I can see:
2019-10-31 05:19:16 CET LOG:  statement: SELECT pg_namespace.nspname, pg_class.relname, pg_attribute.attname, pg_type.typname, pg_attribute.atttypmod, pg_attribute.attnotnull, pg_type.typdefault, pg_type.typtype, pg_attrdef.adsrc, pg_description.description, pg_type.typbasetype, pg_attribute.attnum FROM pg_class, 
pg_attribute LEFT JOIN pg_attrdef ON pg_attribute.attrelid = pg_attrdef.adrelid AND pg_attribute.attnum = pg_attrdef.adnum LEFT JOIN pg_description ON pg_attribute.attrelid = pg_description.objoid AND pg_attribute.attnum=pg_description.objsubid, pg_type, pg_namespace WHERE pg_attribute.attrelid = pg_class.oid AND 
pg_attribute.atttypid = pg_type.oid AND pg_class.relnamespace = pg_namespace.oid AND NOT pg_attribute.attisdropped AND pg_namespace.nspname LIKE 'public' AND pg_class.relname LIKE 'przesylki' AND pg_attribute.attname LIKE '%' ORDER BY pg_namespace.nspname, pg_class.relname, pg_attribute.attnum
2019-10-31 05:19:16 CET ERROR:  column pg_attrdef.adsrc does not exist at character 173

according to postgres changelog - colum adsrc was removed and postgresql author suggest using something like "pg_get_expr(pg_attrdef.adbin,pg_attrdef.adrelid)"
Comment 1 Rene Engelhard 2019-10-31 06:20:07 UTC

*** This bug has been marked as a duplicate of bug 128111 ***