On 2005-04-12, Robert Treat <[EMAIL PROTECTED]> wrote: > One potential ugly way to do it would be to use the magical "last system oid" > as a differentiator between those created by pg and those created by the > user. It would be different for every version so that might be a problem.
That is what pg_dump does when talking to pre-7.2 databases. But it isn't entirely reliable because oid wrap can allow the user to create objects with oids < datlastsysoid. (If it was BootstrapOid you were thinking of, that doesn't work at all because the system casts are added after the bootstrap stage.) -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])