Re: [BUGS] BUG #7643: Issuing a shutdown request while server startup leads to server hang

2012-11-21 Thread Hari Babu
Tom Lane writes: >I concluded that it probably wasn't a good idea to have the additional state transition in SIGINT handling. Generally >PM_STARTUP means "we're running the startup process and nothing else", and that's useful state info that we shouldn't >throw away lightly. I tested the patch,

Re: [BUGS] BUG #7643: Issuing a shutdown request while server startup leads to server hang

2012-11-21 Thread Tom Lane
Hari Babu writes: > I have a query regarding the changing of pmState only incase of SIGTERM but > not incase of SIGINT. > Is there any reason to handle like this? or Is it ok to modify the handling > of pmState in SIGTERM same as SIGINT? AFAICT the "smart shutdown" code path is okay: it transitio

Re: [BUGS] Prepared Statement Name Truncation

2012-11-21 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Gavin Flower asks: > Would it be appropriate to make it a WARNING in 9.2.2, then > increase the length in 9.3? No: revisions are reserved for bug fixes. This would be more of a behavior fix and as such would go into a major version. Gavan Sc

Re: [BUGS] Prepared Statement Name Truncation

2012-11-21 Thread Pavel Stehule
2012/11/21 Greg Sabino Mullane : > > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > Gavin Flower asks: > >> Would it be appropriate to make it a WARNING in 9.2.2, then >> increase the length in 9.3? > > No: revisions are reserved for bug fixes. This would be more of > a behavior fix and a