pg_dump object sorting

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump object sorting
Date: 2008-04-14 15:18:49
Message-ID: 480375D9.2030606@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I have been looking at refining the sorting of objects in pg_dump to
make it take advantage of buffering and synchronised scanning, and
possibly make parallel restoration simpler and more efficient.

My first thought was to sort indexes by <namespace, tablename,
indexname> instead of by <namespace, indexname>. However, that doesn't
go far enough, I think. Is there any reason we can't do all of a table's
indexes and non-FK constraints together? Will that affect anything other
than PK and UNIQUE constraints, as NULL and CHECK constraints are
included in table definitions?

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2008-04-14 15:23:46 Re: [Pljava-dev] stack depth limit exceeded - patch possible?
Previous Message PFC 2008-04-14 15:08:25 Re: Cached Query Plans (was: global prepared statements)