Re: [PATCH] Relocation of tablespaces in pg_basebackup
| От | Gabriele Bartolini |
|---|---|
| Тема | Re: [PATCH] Relocation of tablespaces in pg_basebackup |
| Дата | |
| Msg-id | 52CFD8C0.6000203@2ndQuadrant.it обсуждение исходный текст |
| Ответ на | Re: [PATCH] Relocation of tablespaces in pg_basebackup (Steeve Lennmark <steevel@handeldsbanken.se>) |
| Ответы |
Re: [PATCH] Relocation of tablespaces in pg_basebackup
|
| Список | pgsql-hackers |
Hi Steeve, Il 09/01/14 22:38, Steeve Lennmark ha scritto: > I'm a barman user myself so that was actually my initial thought. Ah! Very good! > If there aren't some kind of hidden internal that I've missed I don't see > a way to convert an OID (only have OID and path at this stage) to a > tablespace name. This solution, even though not optimal, is a lot > better than my initial one where I used the OID directly. Try: SELECT spcname, oid, pg_tablespace_location(oid) FROM pg_tablespace Thanks, Gabriele -- Gabriele Bartolini - 2ndQuadrant ItaliaPostgreSQL Training, Services and Supportgabriele.bartolini@2ndQuadrant.it | www.2ndQuadrant.it
В списке pgsql-hackers по дате отправления: