[odb-users] Problem with schema_catalog::migrate and postgresql
Boris Kolpackov
boris at codesynthesis.com
Mon Nov 13 04:53:17 EST 2017
Otheontelth <otheontelth at protonmail.com> writes:
> Its interesting that the code works when i change it to:
>
> {
>
> odb
>
> ::
>
> transaction
>
> t
>
> (
>
> db
>
> ->
>
> begin
>
> ());
>
> odb
>
> ::
>
> schema_catalog
>
> ::
>
> drop_schema
>
> (*
>
> db
>
> );
>
> odb
>
> ::
>
> schema_catalog
>
> ::
>
> migrate
>
> (*
>
> db
>
> );
>
> t
>
> .
>
> commit
>
> ();
>
> }
For some reason PostgreSQL does not provide any information for
what caused the error. Could it be that you already have a table
with this name in the database?
P.S. You should really fix your mailer, your email was very
unpleasant to read.
Boris
More information about the odb-users
mailing list