Re: heap_create with OID?
От | Philip Warner |
---|---|
Тема | Re: heap_create with OID? |
Дата | |
Msg-id | 3.0.5.32.20000704173343.02549300@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: heap_create with OID? (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>) |
Список | pgsql-hackers |
At 16:44 4/07/00 +1000, Chris Bitmead wrote: > >Would this allow you to create a tuble with a user-specified oid? To be honest, I have no idea - like I said, I just looked at the LO code and heap.c. But I believe it will let me create a lo with the right OID. > >However you won't be able to discover if the oid is free or not. You >could end up with duplicate oids. Thus anybody who uses the feature >should know what they're doing. OK; then it needs to be done by pg_restore ONLY when a full restore is being done. pg_dump already has a crude way of setting the max OID at the start of a restore; all I need to do is use that process when restoring blobs. ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.C.N. 008 659 498) | /(@) ______---_ Tel: (+61) 0500 83 82 81 | _________ \ Fax: (+61) 0500 83 82 82 | ___________ | Http://www.rhyme.com.au | / \| | --________-- PGP key available upon request, | / and from pgp5.ai.mit.edu:11371 |/
В списке pgsql-hackers по дате отправления: