Обсуждение: Bytea and pg_dump/dumpall

Поиск
Список
Период
Сортировка

Bytea and pg_dump/dumpall

От
Sean Davis
Дата:
Just a quick question:

Bytea columns are backed up appropriately using pg_dump/dumpall?  The docs
mention specifics about large objects, and I just wanted to check whether
bytea is considered a large object in regard to backup.

Thanks,
Sean


Re: Bytea and pg_dump/dumpall

От
John DeSoi
Дата:
On Sep 23, 2005, at 7:11 AM, Sean Davis wrote:

> Bytea columns are backed up appropriately using pg_dump/dumpall?
> The docs
> mention specifics about large objects, and I just wanted to check
> whether
> bytea is considered a large object in regard to backup.

Yes, bytea columns are dumped/restored as any other column type.
Large objects are a different type created using a separate API:

http://www.postgresql.org/docs/8.0/interactive/largeobjects.html



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Re: Bytea and pg_dump/dumpall

От
Tom Lane
Дата:
Sean Davis <sdavis2@mail.nih.gov> writes:
> Bytea columns are backed up appropriately using pg_dump/dumpall?  The docs
> mention specifics about large objects, and I just wanted to check whether
> bytea is considered a large object in regard to backup.

bytea is just data.

            regards, tom lane