"Julius Tuskenis" <julius(at)nsoft(dot)lt> writes:
> Problem with backup/restore databases with schemas other than public. After
> restoring pg_attrdef.adsrc doesn't contain schema name of the sequence -
> only sequence itself. It is big problem then using Zeos lib components for
> Delphi, becouse they get wrong default values and no insert is possible
> then.
You need to file this bug against Zeos; if they are expecting adsrc to
contain anything very reliable then they are broken. They shouldn't
be depending on it at all. Note the comment at the bottom of
http://developer.postgresql.org/pgdocs/postgres/catalog-pg-attrdef.html
regards, tom lane