Re: pg_restore depending on user functions

From: Дмитрий Иванов <firstdismay(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore depending on user functions
Date: 2021-11-16 16:57:38
Message-ID: CAPL5KHouYG+Bi4DWYdzixUwJuL6HK9uruW5JKqU+1CJfB39G0Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

--Line 4048:
CREATE TABLE bpd.class (
id bigint NOT NULL,
id_con bigint NOT NULL,
id_group bigint NOT NULL,
id_parent bigint NOT NULL,
id_root bigint NOT NULL,
level integer NOT NULL,
name character varying(100) NOT NULL,
"desc" character varying(2044) DEFAULT 'н/д'::text NOT NULL,
"on" boolean NOT NULL,
on_extensible boolean DEFAULT true NOT NULL,
on_abstraction boolean DEFAULT true NOT NULL,
id_unit_conversion_rule integer NOT NULL,
barcode_manufacturer bigint DEFAULT 0 NOT NULL,
barcode_local bigint DEFAULT 0 NOT NULL,
"timestamp" timestamp without time zone DEFAULT LOCALTIMESTAMP NOT NULL,
on_freeze boolean DEFAULT false NOT NULL,
id_group_root bigint DEFAULT 0 NOT NULL,
timestamp_parent timestamp without time zone DEFAULT LOCALTIMESTAMP(3)
NOT NULL,
id_unit integer DEFAULT '-1'::integer NOT NULL,
timestamp_root timestamp without time zone NOT NULL,
timestamp_child_change timestamp without time zone DEFAULT
LOCALTIMESTAMP(3) NOT NULL,
name_format character varying(255) DEFAULT 'none'::character varying
NOT NULL,
quantity_show boolean DEFAULT true NOT NULL,
path_array bigint[] DEFAULT ARRAY[0] NOT NULL,
CONSTRAINT id CHECK ((id > 0)),
CONSTRAINT id_root CHECK ((id >= 0))
);

вт, 16 нояб. 2021 г. в 21:29, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:

> =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= <firstdismay(at)gmail(dot)com>
> writes:
> > It turns out that everything was rolling like a snowball, after the wrong
> > order of CAST creation
>
> This is missing (at least) bpd.class.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-11-16 20:04:06 Re: pg_restore depending on user functions
Previous Message Tom Lane 2021-11-16 16:29:14 Re: pg_restore depending on user functions

Browse pgsql-general by date

  From Date Subject
Next Message DAVID ROTH 2021-11-16 17:23:13 Postgres Equivalent of Oracle Package
Previous Message Ray O'Donnell 2021-11-16 16:46:50 Re: How is JSON stored in PG ?