Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-08 Thread Marko Kreen
On Sat, Oct 6, 2012 at 5:24 AM, Adrian Klaver wrote: > One thing I see above: > http://pgbouncer.projects.postgresql.org/doc/config.html > ""\*" acts as fallback database" > > Notice the backslash. The backslash is asciidoc/docbook accident, it should be plain * there. -- marko -- Sent via p

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-08 Thread Marko Kreen
On Tue, Oct 2, 2012 at 12:27 PM, Phoenix Kiula wrote: > I get this error: > >psql: ERROR: No such user: MYSITE_MYSITE > > And yet, the authfile has this: > > "MYSITE_MYSITE" "" > "MYSITE_MYSITE" "" > "postgres" "" > "MYSITE_pgbouncer" "" Because of data sanitizing I cannot se

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-07 Thread Wolf Schwurack
, October 05, 2012 8:01 PM To: Wolf Schwurack Cc: raghu ram; pgbouncer-gene...@pgfoundry.org; PG-General Mailing List Subject: Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer On Sat, Oct 6, 2012 at 12:01 AM, Wolf Schwurack wrote: > You need to have a pgbouner directory in /var/

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-06 Thread Johnny Tan
Since it started happening after reboot, I wonder if it's selinux related. If you previously did "setenforce 0", that wouldn't persist across reboot. On Oct 5, 2012 10:01 PM, "Phoenix Kiula" wrote: > On Sat, Oct 6, 2012 at 12:01 AM, Wolf Schwurack wrote: > > > You need to have a pgbouner d

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Shashank Tripathi
On Sat, Oct 6, 2012 at 10:07 AM, Adrian Klaver wrote: > On 10/05/2012 07:00 PM, Phoenix Kiula wrote: >> >> On Sat, Oct 6, 2012 at 12:01 AM, Wolf Schwurack wrote: >> >>> >>> You need to have a pgbouner directory in /var/log and have the owner >>> pgbouncer. This is easy to test try creating a

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Adrian Klaver
On 10/05/2012 07:30 PM, Phoenix Kiula wrote: On Sat, Oct 6, 2012 at 10:24 AM, Adrian Klaver wrote: One thing I see above: http://pgbouncer.projects.postgresql.org/doc/config.html ""\*" acts as fallback database" Notice the backslash. Ok, but: (1) The exact same INI file was working so fa

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Phoenix Kiula
On Sat, Oct 6, 2012 at 10:24 AM, Adrian Klaver wrote: > > One thing I see above: > http://pgbouncer.projects.postgresql.org/doc/config.html > ""\*" acts as fallback database" > > Notice the backslash. > Ok, but: (1) The exact same INI file was working so far. (2) Why do I need a fallback datab

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Adrian Klaver
On 10/05/2012 07:23 PM, Phoenix Kiula wrote: On Sat, Oct 6, 2012 at 10:07 AM, Adrian Klaver wrote: ...snip... What are the contents of your pgbouncer.ini file? Thanks Adrian. I mentioned the full ini file details above in the thread, but here they are again. (Please do not comment abou

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Phoenix Kiula
On Sat, Oct 6, 2012 at 10:07 AM, Adrian Klaver wrote: ...snip... > What are the contents of your pgbouncer.ini file? >> Thanks Adrian. I mentioned the full ini file details above in the thread, but here they are again. (Please do not comment about port numbers. This is a public list so I cha

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Adrian Klaver
On 10/05/2012 07:00 PM, Phoenix Kiula wrote: On Sat, Oct 6, 2012 at 12:01 AM, Wolf Schwurack wrote: You need to have a pgbouner directory in /var/log and have the owner pgbouncer. This is easy to test try creating a file in /var/log as the user pgbouncer. It should fail because pgbouncer

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Phoenix Kiula
On Sat, Oct 6, 2012 at 12:01 AM, Wolf Schwurack wrote: > You need to have a pgbouner directory in /var/log and have the owner > pgbouncer. This is easy to test try creating a file in /var/log as the user > pgbouncer. It should fail because pgbouncer does not have writer permissions > to /v

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Wolf Schwurack
urack Cc: raghu ram; pgbouncer-gene...@pgfoundry.org; PG-General Mailing List Subject: Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer On Thu, Oct 4, 2012 at 2:50 AM, Wolf Schwurack wrote: > I use pgpool but some of the problem you listed are same as I had with > pgpool

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-05 Thread Phoenix Kiula
On Thu, Oct 4, 2012 at 2:50 AM, Wolf Schwurack wrote: > I use pgpool but some of the problem you listed are same as I had with pgpool Thanks Wolf, for the thoughts. > I would not run pgbouner in /var/run/pbbouner. Every time you reboot the > directory will get deleted. I set my parameter to an

Re: [Pgbouncer-general] [GENERAL] Again, problem with pgbouncer

2012-10-03 Thread Wolf Schwurack
A UEN -Original Message- From: pgbouncer-general-boun...@pgfoundry.org [mailto:pgbouncer-general-boun...@pgfoundry.org] On Behalf Of Phoenix Kiula Sent: Wednesday, October 03, 2012 12:02 PM To: raghu ram Cc: pgbouncer-gene...@pgfoundry.org; PG-General Mailing List Subject: Re: [Pgbouncer-general] [GE

Re: [GENERAL] Again, problem with pgbouncer

2012-10-03 Thread dinesh kumar
Hi, Do you have "MYSITE_MYSITE" user at your database. Please login to the database directly (I mean, without any pgbouncer and check once. select* from pg_user where usename ~~* 'MYSITE_MYSITE'; And also please check your's pgbouncer.ini admin users list also. Best Regards, Dinesh manojadinesh

Re: [GENERAL] Again, problem with pgbouncer

2012-10-03 Thread Phoenix Kiula
On Tue, Oct 2, 2012 at 5:27 PM, Phoenix Kiula wrote: > On Tue, Oct 2, 2012 at 11:29 AM, Phoenix Kiula > wrote: >> On Tue, Oct 2, 2012 at 12:59 AM, Phoenix Kiula >> wrote: Could you please check permission of /var/run/pgbouncer/ directory. If pgbouncer directory does not have "postgre

Re: [GENERAL] Again, problem with pgbouncer

2012-10-02 Thread Phoenix Kiula
On Tue, Oct 2, 2012 at 11:29 AM, Phoenix Kiula wrote: > On Tue, Oct 2, 2012 at 12:59 AM, Phoenix Kiula > wrote: >>> Could you please check permission of /var/run/pgbouncer/ directory. If >>> pgbouncer directory does not have "postgres" user permissions,please assign >>> it and then start the pgb

Re: [GENERAL] Again, problem with pgbouncer

2012-10-01 Thread Phoenix Kiula
On Tue, Oct 2, 2012 at 12:59 AM, Phoenix Kiula wrote: >> Could you please check permission of /var/run/pgbouncer/ directory. If >> pgbouncer directory does not have "postgres" user permissions,please assign >> it and then start the pgbouncer. > > > The /var/run/pgbouncer/ directory has > >chow

Re: [GENERAL] Again, problem with pgbouncer

2012-10-01 Thread Phoenix Kiula
> Could you please check permission of /var/run/pgbouncer/ directory. If > pgbouncer directory does not have "postgres" user permissions,please assign > it and then start the pgbouncer. The /var/run/pgbouncer/ directory has chown -R postgres:postgres .. The port number everywhere is already

Re: [GENERAL] Again, problem with pgbouncer

2012-10-01 Thread raghu ram
On Mon, Oct 1, 2012 at 3:56 PM, Phoenix Kiula wrote: > Hi, > > - PG 9.0.10 > - Pgbouncer version 1.4.2 > > Not long ago, during the last server reboot for us, we had fixed the > really painful (and largely mysterious) process of setting up > pgbouncer. > > File permissions and other mysteries

[GENERAL] Again, problem with pgbouncer

2012-10-01 Thread Phoenix Kiula
Hi, - PG 9.0.10 - Pgbouncer version 1.4.2 Not long ago, during the last server reboot for us, we had fixed the really painful (and largely mysterious) process of setting up pgbouncer. File permissions and other mysteries were solved with help from Raghavendra: http://permalink.gmane.org/gman

Re: [GENERAL] again...

2009-03-14 Thread Gurjeet Singh
Hi All, Acting on a customer's report I analyzed this bug, and have found a fix for it. It is not a critical error, but it definitely is a bug, and can have security implications. This error is raised from syslogger.c, and since this sub-process is not responsible for any backend communic

Re: [GENERAL] again...

2008-11-09 Thread Nikolay Samokhvalov
On Sat, Oct 25, 2008 at 6:12 PM, Ati Rosselet <[EMAIL PROTECTED]> wrote: > I'm still getting a lot of these entries in my eventlog whenever I have a > reasonably large amount of logging: > > Event Type:Error > Event Source:PostgreSQL > Event Category:None > Event ID:0 > Date:

Re: [GENERAL] again... (win32 logging errors)

2008-10-26 Thread Martin Gainty
gsql-general@postgresql.org > Subject: Re: [GENERAL] again... (win32 logging errors) > > Ati Rosselet wrote: > > I'm still getting a lot of these entries in my eventlog whenever I > > have a reasonably large amount of logging: > > > > Event Type:Error

Re: [GENERAL] again... (win32 logging errors)

2008-10-26 Thread Klint Gore
Ati Rosselet wrote: I'm still getting a lot of these entries in my eventlog whenever I have a reasonably large amount of logging: Event Type:Error Event Source:PostgreSQL Event Category:None Event ID:0 Date:10/22/2008 Time:9:36:28 AM User:N/A Computer:

Re: [GENERAL] again...

2008-10-26 Thread Martin Gainty
ly endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: pgsql-general@postgresql.org > Subject: Re: [GENERAL] again... > Date: Sun, 26 Oct 2008 11:47:24 -0400 > > > - Original Message - > From: "Scott Marlowe" <[EMAIL PRO

Re: [GENERAL] again...

2008-10-26 Thread Jeff
- Original Message - From: "Scott Marlowe" <[EMAIL PROTECTED]> To: "Ati Rosselet" <[EMAIL PROTECTED]> Cc: Sent: Saturday, October 25, 2008 12:04 PM Subject: Re: [GENERAL] again... On Sat, Oct 25, 2008 at 9:12 AM, Ati Rosselet <[EMAIL PROTECTED]&g

Re: [GENERAL] again...

2008-10-25 Thread Ati Rosselet
I wish... no such luck. No virus scanner on the back end (nothing gets on the server except the database :)) It seems to be a race condition where the old file is closed before the new file is opened, and the logging attempt fails right at that time. The new file is created just fine, and from th

Re: [GENERAL] again...

2008-10-25 Thread Scott Marlowe
On Sat, Oct 25, 2008 at 9:12 AM, Ati Rosselet <[EMAIL PROTECTED]> wrote: > I'm still getting a lot of these entries in my eventlog whenever I have a > reasonably large amount of logging: > > Event Type:Error > Event Source:PostgreSQL > Event Category:None > Event ID:0 > Date:

[GENERAL] again...

2008-10-25 Thread Ati Rosselet
I'm still getting a lot of these entries in my eventlog whenever I have a reasonably large amount of logging: Event Type:Error Event Source:PostgreSQL Event Category:None Event ID:0 Date:10/22/2008 Time:9:36:28 AM User:N/A Computer:-- Description

[GENERAL] again on returning records from functions

2008-01-25 Thread Ivan Sergio Borgonovo
http://people.planetpostgresql.org/xzilla/index.php?/archives/149-out-parameter-sql-plpgsql-examples.html#extended Is there any difference in terms of performance and returning rows "a bit at a time" between myuser2 and myuser3? thanks -- Ivan Sergio Borgonovo http://www.webthatworks.it -

Re: [GENERAL] Again about varchar()

2007-07-18 Thread Tom Lane
=?UTF-8?B?5p2O5b2mIElhbiBMaQ==?= <[EMAIL PROTECTED]> writes: > I have tables with one or several varchar(n) columns(utf8, n<=200) > which I believe those tables' row length will not exceed the page > length. Will it helps to the performance that I turn off TOAST of > those 'short' varchar() colu

[GENERAL] Again about varchar()

2007-07-18 Thread 李彦 Ian Li
Hi all: I have tables with one or several varchar(n) columns(utf8, n<=200) which I believe those tables' row length will not exceed the page length. Will it helps to the performance that I turn off TOAST of those 'short' varchar() columns by issuing “ALTER TABLE foo ALTER COLUMN bar SET STORA

Re: [GENERAL] (Again) Datacorruption using 7.4.2 on XFS/raid1

2004-07-12 Thread Ian Barwick
On Mon, 12 Jul 2004 20:31:15 +0200, Florian G. Pflug <[EMAIL PROTECTED]> wrote: > Hi > > We have again experienced data-corruption using 7.4.2 on an XFS Filesystem > on top of a software-raid (md) raid-1. > > After a server crash last night (It was a rather strange crash - The machine > was still p

Re: [GENERAL] (Again) Datacorruption using 7.4.2 on XFS/raid1

2004-07-12 Thread Brian Hirt
FYI, I have seen the SW linux raid not detect failed drives and cause filesystem corruption on many occasions. I would reccomend staying away from it. Maybe what you describe is a problem with PG but, i doubt it. On Jul 12, 2004, at 12:31 PM, Florian G. Pflug wrote: Hi We have again experienc

[GENERAL] (Again) Datacorruption using 7.4.2 on XFS/raid1

2004-07-12 Thread Florian G. Pflug
Hi We have again experienced data-corruption using 7.4.2 on an XFS Filesystem on top of a software-raid (md) raid-1. After a server crash last night (It was a rather strange crash - The machine was still pingable, but no login was possible, and postgres and apache didn't respond to requests any m

[GENERAL] again, invalid page header in block ...

2004-06-03 Thread Hubert Fröhlich
Hi list, I am working with 7.4.1 under Linux (SuSE 8.1) The server is a HP ProLiant DL 380-G3, 2x Intel Pentium4-Xeon, 2.8 GHz, 4 GB memory and a RAID 5 system with ca. 500 GB diskspace (xfs file system) When doing big transactions or changes (UPDATE several million rows in one step) on a datab

Re: [GENERAL] Again about temporary table

2003-08-28 Thread Richard Huxton
On Wednesday 27 August 2003 08:39, Juris Krumins wrote: > Couple a weeks ago (19.08.03 Subject: Temporaty tables) I've posted message > with question about errors I'm getting while using create temporaty table > command. > So I'm start digging in src code as Tom Lane did and found about 4 places >

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Gene Selkov, Jr.
> > When the postmaster dies, init will automatically > > respawn it, much the same as getty, or xdm, etc. > > Now, since init will be starting the postmaster, > > the /etc/rc.d/init.d script should be removed and > > the links to it in /etc/rc.d/rc[whatever].d should > > also be removed (or yo

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Simon Drabble
On Fri, 8 Oct 1999, Doran L. Barton wrote: > Not long ago, Ted Nolan SRI Augusta GA proclaimed... > > Hmm, perhaps I'm missing something, but since the postmaster doesnt go > > into the background by default, couldn't you just run a script > > with a loop creating postmasters as they die? Someth

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Doran L. Barton
Not long ago, Mike Mascari proclaimed... > According to the INSTALL document which came with > the distribution (possibly the following remark has > been removed in recent versions?), for RedHat Linux: > > > In RedHat Linux edit file /etc/initt

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Mike Mascari
--- Michael Simms <[EMAIL PROTECTED]> wrote: > > > > I posted this question before and got no good > responses. I'm posting it > > again out of pure desperation. > > > > I've got a Postgres 6.5.1 server running on a > RedHat (i386) 5.2 box. > > PostgreSQL was compiled from source with no > speci

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Doran L. Barton
Not long ago, Ted Nolan SRI Augusta GA proclaimed... > Hmm, perhaps I'm missing something, but since the postmaster doesnt go > into the background by default, couldn't you just run a script > with a loop creating postmasters as they die? Something like: > > #! /bin/sh > > while : > do >

Re: [GENERAL] Again: How the hell do I restart immediately

1999-10-08 Thread Ted Nolan SRI Augusta GA
In message <[EMAIL PROTECTED]>you write: > >Call this script postmasterangel.sh (as in guardian angel) and run it >instead of the postmaster. Change the postmaster line in here to be >your postmaster boot configuration options. > > >This runs under linux. It will probably work under most un*x >fla