Re: [BUGS] BUG #8127: After failed insert a select to figure out what failed is rejected

2013-05-07 Thread Amit Kapila
On Monday, April 29, 2013 4:54 PM matti aarnio wrote: > The following bug has been logged on the website: > > Bug reference: 8127 > Logged by: Matti Aarnio > Email address: matti.aar...@methics.fi > PostgreSQL version: 9.2.4 > Operating system: Fedora 18 > Description: > > Wi

Re: [BUGS] BUG #8043: 9.2.4 doesn't open WAL files from archive, only looks in pg_xlog

2013-05-07 Thread Heikki Linnakangas
On 08.04.2013 18:58, Jeff Bohmer wrote: On Apr 6, 2013, at 1:24 PM, Jeff Janes wrote: On Sat, Apr 6, 2013 at 1:24 AM, Heikki Linnakangas wrote: Perhaps we should improve the documentation to make it more explicit that backup_label must be included in the backup. The docs already say that, t

[BUGS] BUG #8139: initdb: Misleading error message when current user not in /etc/passwd

2013-05-07 Thread nicolas
The following bug has been logged on the website: Bug reference: 8139 Logged by: Nicolas Marchildon Email address: nico...@marchildon.net PostgreSQL version: 9.2.4 Operating system: RHEL 6 Description: Running initdb while logged in as a user that has no entry in /etc

Re: [BUGS] BUG #8139: initdb: Misleading error message when current user not in /etc/passwd

2013-05-07 Thread Tom Lane
nico...@marchildon.net writes: > "initdb: could not obtain information about current user: Success" > The misleading part is the "Success". This comes from errno: > pw = getpwuid(geteuid()); > if (!pw) > { > fprintf(stderr, > _("%s

Re: [BUGS] BUG #8139: initdb: Misleading error message when current user not in /etc/passwd

2013-05-07 Thread Alvaro Herrera
Tom Lane wrote: > nico...@marchildon.net writes: > > The man page says: > > > RETURN VALUE > >The getpwnam() and getpwuid() functions return a pointer to a > > passwd > >structure, or NULL if the matching entry is not found or an > > error > >occurs. If an error