Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-15 Thread Simon Riggs
On 15 January 2013 05:12, Tomonari Katsumata wrote: >> We added a REPLICATION privelge onto user accounts to control access. >> >> Perhaps we should add a CASCADE privilege as well, so that we can >> control whether we can connect to a master and/or a standby. >> >> Syntax would be >> >> ALTER US

Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-15 Thread Heikki Linnakangas
On 15.01.2013 10:14, Simon Riggs wrote: On 15 January 2013 05:12, Tomonari Katsumata wrote: We added a REPLICATION privelge onto user accounts to control access. Perhaps we should add a CASCADE privilege as well, so that we can control whether we can connect to a master and/or a standby. Sy

[BUGS] BUG #7812: pgadmin3_92 will not uninstall

2013-01-15 Thread chip
The following bug has been logged on the website: Bug reference: 7812 Logged by: Chip Schweiss Email address: c...@innovates.com PostgreSQL version: 9.2.2 Operating system: Centos 6 Description: After using yum to install pgadmin3 it will not uninstall: # yum -v eras

[BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread 1584171677
The following bug has been logged on the website: Bug reference: 7811 Logged by: Meng Qingzhong Email address: 1584171...@qq.com PostgreSQL version: 9.2.2 Operating system: Windows 7 Description: I find a bug this time really and I have fixed it. The bug is in psql,

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Heikki Linnakangas
On 15.01.2013 16:18, 1584171...@qq.com wrote: I give you a description about how to trigger this bug first: (1) start the server with the command "postgres -D pgdata" (2) start the client with the command "psql" (3) close the server (4) execute a

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Tom Lane
Heikki Linnakangas writes: > That'd change the behavior of all sprintf calls, not sure we want to go > there. I don't think so; especially since the proposed fix doesn't help on systems where we are using the native printf. > I committed a local fix to help.c to print "none" as the database nam

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Heikki Linnakangas
On 15.01.2013 20:10, Tom Lane wrote: Heikki Linnakangas writes: I committed a local fix to help.c to print "none" as the database name when not connected. I think that patch could use more thought. As is, it will print connect to new database (currently "none") which to me is claim

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Tom Lane
Heikki Linnakangas writes: > On 15.01.2013 20:10, Tom Lane wrote: >> I think that patch could use more thought. As is, it will print >> connect to new database (currently "none") >> which to me is claiming that we are connected to a database whose name >> is "none". The quotes should not be

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Heikki Linnakangas
On 15.01.2013 20:29, Tom Lane wrote: Heikki Linnakangas writes: On 15.01.2013 20:10, Tom Lane wrote: I think that patch could use more thought. As is, it will print connect to new database (currently "none") which to me is claiming that we are connected to a database whose name is "no

Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-15 Thread Fujii Masao
On Tue, Jan 15, 2013 at 5:25 PM, Heikki Linnakangas wrote: > On 15.01.2013 10:14, Simon Riggs wrote: >> >> On 15 January 2013 05:12, Tomonari Katsumata >> wrote: >> We added a REPLICATION privelge onto user accounts to control access. Perhaps we should add a CASCADE privilege as w

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Tom Lane
Heikki Linnakangas writes: > On 15.01.2013 20:29, Tom Lane wrote: >> But you already introduced "none" as a stand-alone (and probably almost >> untranslatable without context) string. That's better? > I figured it would be. One little untranslated string in parens, versus > the whole is untrans

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Heikki Linnakangas
On 15.01.2013 21:13, Tom Lane wrote: Heikki Linnakangas writes: On 15.01.2013 20:29, Tom Lane wrote: But you already introduced "none" as a stand-alone (and probably almost untranslatable without context) string. That's better? I figured it would be. One little untranslated string in paren

Re: [BUGS] BUG #7811: strlen(NULL) cause psql crash

2013-01-15 Thread Tom Lane
Heikki Linnakangas writes: > Hmm, I wonder if an empty string would be better? It'd look a bit odd, > but at least it would not mislead you to think you're connected to a > database called "none". Works for me as a back-branch fix, especially since then we're adding zero new strings to the back

[BUGS] BUG #7813: Problem in installation

2013-01-15 Thread analyst . kleber
The following bug has been logged on the website: Bug reference: 7813 Logged by: Kleber William Email address: analyst.kle...@gmail.com PostgreSQL version: 9.2.2 Operating system: Windows 8 x64 Description: Good afternoon. I'm not able to install postgres 9.x on my w

Re: [BUGS] BUG #7809: Running pg_dump on slave w/ streaming replication fails if there are unlogged tables

2013-01-15 Thread Magnus Hagander
On Tue, Jan 15, 2013 at 12:13 AM, wrote: > The following bug has been logged on the website: > > Bug reference: 7809 > Logged by: Joe Van Dyk > Email address: j...@tanga.com > PostgreSQL version: 9.2.2 > Operating system: Ubuntu > Description: > > Running pg_dump on a streami

Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-15 Thread Tomonari Katsumata
Hi, (2013/01/16 4:03), Fujii Masao wrote: > On Tue, Jan 15, 2013 at 5:25 PM, Heikki Linnakangas > wrote: >> On 15.01.2013 10:14, Simon Riggs wrote: >>> >>> On 15 January 2013 05:12, Tomonari Katsumata >>> wrote: >>> > We added a REPLICATION privelge onto user accounts to control access. >>