Re: XLogWrite uses palloc within a critical section

2018-05-25 Thread Kyotaro HORIGUCHI
Thank you for the comment. At Fri, 25 May 2018 09:05:21 +0300, Heikki Linnakangas wrote in <466a3c6d-7986-8cb1-d908-e85aa6a09...@iki.fi> > On 25/05/18 07:45, Kyotaro HORIGUCHI wrote: > > Hello. > > I happened to see the following in XLogWrite. > > > >> ereport(PANIC, > >>

Re: XLogWrite uses palloc within a critical section

2018-05-25 Thread Heikki Linnakangas
On 25/05/18 07:45, Kyotaro HORIGUCHI wrote: Hello. I happened to see the following in XLogWrite. ereport(PANIC, (errcode_for_file_access(), errmsg("could not seek in log file %s to offset %u: %m", XLogFileNameP(ThisTimeLineID, openLogSegNo), startoffset)));

XLogWrite uses palloc within a critical section

2018-05-24 Thread Kyotaro HORIGUCHI
Hello. I happened to see the following in XLogWrite. > ereport(PANIC, > (errcode_for_file_access(), > errmsg("could not seek in log file %s to offset %u: %m", > XLogFileNameP(ThisTimeLineID, openLogSegNo), > startoffset))); where XLogFileNameP calls palloc within,