Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Moving tablespaces

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Moving tablespaces
Date: 2011-12-06 15:05:46
Message-ID: 19761.1323183946@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> + 	snprintf(sourcepath, sizeof(sourcepath), "pg_tblspc/%d", tablespaceOid);

%u for an OID, please.  Otherwise seems reasonably sane on first glance.

			regards, tom lane

In response to

pgsql-docs by date

Next:From: Tom LaneDate: 2011-12-06 15:12:32
Subject: Re: [HACKERS] Moving tablespaces
Previous:From: Magnus HaganderDate: 2011-12-06 14:59:11
Subject: Re: [HACKERS] Moving tablespaces

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-12-06 15:12:32
Subject: Re: [HACKERS] Moving tablespaces
Previous:From: Magnus HaganderDate: 2011-12-06 14:59:11
Subject: Re: [HACKERS] Moving tablespaces

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group