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)"
*** This bug has been marked as a duplicate of bug 128111 ***