Robert Haas wrote:
> On Sun, Jul 24, 2011 at 5:27 PM, Bruce Momjian wrote:
> > Alvaro Herrera wrote:
> >> Excerpts from Bruce Momjian's message of dom jul 24 01:46:08 -0400 2011:
> >> > Robert Haas wrote:
> >>
> >> > > > Should I fix this in pg_upgrade 9.1 for Windows or just in 9.2? ?The
> >> > >
On Sun, Jul 24, 2011 at 5:27 PM, Bruce Momjian wrote:
> Alvaro Herrera wrote:
>> Excerpts from Bruce Momjian's message of dom jul 24 01:46:08 -0400 2011:
>> > Robert Haas wrote:
>>
>> > > > Should I fix this in pg_upgrade 9.1 for Windows or just in 9.2? ?The
>> > > > check works fine on non-Window
Alvaro Herrera wrote:
> Excerpts from Bruce Momjian's message of dom jul 24 01:46:08 -0400 2011:
> > Robert Haas wrote:
>
> > > > Should I fix this in pg_upgrade 9.1 for Windows or just in 9.2? ?The
> > > > check works fine on non-Windows.
> > >
> > > Seems worth back-patching to me.
> >
> > Att
Excerpts from Bruce Momjian's message of dom jul 24 01:46:08 -0400 2011:
> Robert Haas wrote:
> > > Should I fix this in pg_upgrade 9.1 for Windows or just in 9.2? ?The
> > > check works fine on non-Windows.
> >
> > Seems worth back-patching to me.
>
> Attached patch applied and backpatched to 9
Robert Haas wrote:
> On Sat, Jul 23, 2011 at 9:14 AM, Bruce Momjian wrote:
> > Andrew Dunstan wrote:
> >> > We do use access() in a few other places in our code, but not for
> >> > directory permission checks.
> >> >
> >> > Any ideas on a solution? ?Will checking stat() work? ?Do I have to try
> >
On Sat, Jul 23, 2011 at 9:14 AM, Bruce Momjian wrote:
> Andrew Dunstan wrote:
>> > We do use access() in a few other places in our code, but not for
>> > directory permission checks.
>> >
>> > Any ideas on a solution? Will checking stat() work? Do I have to try
>> > creating a dummy file and del
Andrew Dunstan wrote:
> > We do use access() in a few other places in our code, but not for
> > directory permission checks.
> >
> > Any ideas on a solution? Will checking stat() work? Do I have to try
> > creating a dummy file and delete it?
>
> That looks like the obvious solution - it's what
On 07/23/2011 08:45 AM, Bruce Momjian wrote:
Pg_upgrade writes temporary files (e.g. _dumpall output) into the
current directory, rather than a temporary directory or the user's home
directory. (This was decided by community discussion.)
I have a check in pg_upgrade 9.1 to make sure pg_upgrad
Pg_upgrade writes temporary files (e.g. _dumpall output) into the
current directory, rather than a temporary directory or the user's home
directory. (This was decided by community discussion.)
I have a check in pg_upgrade 9.1 to make sure pg_upgrade has write
permission in the current directory: