Re: [BUGS] [ADMIN] Repeatable crash in pg_dump (with -d2 info)

2012-09-06 Thread Tom Lane
Robert Haas writes: > On Mon, Aug 27, 2012 at 9:58 AM, Bruce Momjian wrote: >> From Tom Lane in the above thread: >>> Hmm. I can see how that would happen if you're using one of the Windows >>> environments wherein malloc's done inside libpq have to be free'd inside >>> libpq. (The PQExpBuffer

Re: [BUGS] [ADMIN] Repeatable crash in pg_dump (with -d2 info)

2012-09-06 Thread Robert Haas
On Mon, Aug 27, 2012 at 9:58 AM, Bruce Momjian wrote: > On Tue, Jan 17, 2012 at 04:46:50PM -0500, David Schnur wrote: >> I finally had time to test this further on a variety of systems, and was >> unable >> to reproduce on any non-Windows platform. The dump even works fine on >> Windows >> XP;

Re: [BUGS] [ADMIN] Repeatable crash in pg_dump (with -d2 info)

2012-08-27 Thread Bruce Momjian
On Tue, Jan 17, 2012 at 04:46:50PM -0500, David Schnur wrote: > I finally had time to test this further on a variety of systems, and was > unable > to reproduce on any non-Windows platform. The dump even works fine on Windows > XP; just not Windows 7. > > This prompted me to do a little more res

Re: [BUGS] [ADMIN] Repeatable crash in pg_dump (with -d2 info)

2012-01-17 Thread David Schnur
I finally had time to test this further on a variety of systems, and was unable to reproduce on any non-Windows platform. The dump even works fine on Windows XP; just not Windows 7. This prompted me to do a little more research, and this time I found this thread from Sept. 2011: http://postgresq

Re: [BUGS] [ADMIN] Repeatable crash in pg_dump (with -d2 info)

2011-11-28 Thread Tom Lane
David Schnur writes: > I probably can't get a stack trace, but I was able to reproduce it with > just that function. Without the function, pg_dump works fine. I can DROP > the function, pg_dump works, then add it back again and pg_dump crashes. Hmph. I still can't reproduce this here, which se

Re: [BUGS] [ADMIN] Postgres Stats after Crash Recovery

2008-09-25 Thread Simon Riggs
I confirm this as a bug. First ANALYZE after crash recovery leaves stats showing as zeroes. Repeatable on CVS HEAD with ANALYZE and VACUUM ANALYZE. Forwarding to bugs. On Wed, 2008-09-24 at 15:29 -0400, Chirag Dave wrote: > > Testing AutoVac on 8.3 , i came across the problem of loosing stats

Re: [BUGS] [ADMIN] problem in installing pgsql-8.3.1

2008-05-15 Thread John R Pierce
Devrim GÜNDÜZ wrote: Hi, On Thu, 2008-05-15 at 04:21 -0700, shohorab hossain wrote: For few days I am trying to install postgresql-8.3.1 in RHEL4. My machine configuration is Intel Pentium IV. I have followed the installation document of postgresql that was included with source distribution.

Re: [BUGS] [ADMIN] problem in installing pgsql-8.3.1

2008-05-15 Thread Devrim GÜNDÜZ
Hi, On Thu, 2008-05-15 at 04:21 -0700, shohorab hossain wrote: > For few days I am trying to install postgresql-8.3.1 in RHEL4. My > machine configuration is Intel Pentium IV. I have followed the > installation document of postgresql that was included with source > distribution. > > I am facing t

Re: [BUGS] [ADMIN]

2007-05-23 Thread Joshua Kramer
I already found that it's possible to store passwords in the file pgpass.conf in the %APPDATA% directory. But that file isn't stored in that location. In fact it doesn't exist in my disk. I already checked the "Store password" Filipe, You need to create that file yourself. Using the format

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Dirk Lutzebäck
True. Dirk Tom Lane wrote: =?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <[EMAIL PROTECTED]> writes: This is not a large object. We are seeing rows with duplicate oids because the OID counter is not changed after the dump (exported with --oids) is being loaded. How does 8.1 prevent to allo

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Tom Lane
=?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <[EMAIL PROTECTED]> writes: > This is not a large object. We are seeing rows with duplicate oids > because the OID counter is not changed after the dump (exported with > --oids) is being loaded. > How does 8.1 prevent to allocate duplicate OIDs? If there's a uni

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does

2006-06-09 Thread Dirk Lutzebäck
This is not a large object. We are seeing rows with duplicate oids because the OID counter is not changed after the dump (exported with --oids) is being loaded. How does 8.1 prevent to allocate duplicate OIDs? Regards, Dirk Tom Lane wrote: Alvaro Herrera <[EMAIL PROTECTED]> writes:

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

2006-06-09 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Dirk Lutzebäck wrote: >> how can one set the global OID counter in 8.1.X? We think it would work >> in 8.0.X using the COPY WITH OIDS command but this does not work in >> 8.1.X anymore. > pg_resetxlog -o > (Postmaster stopped of course) Possibly more

Re: [BUGS] [ADMIN] How to set the global OID counter? COPY WITH OIDS does not set global OID counter?

2006-06-09 Thread Alvaro Herrera
Dirk Lutzebäck wrote: > Hi, > > how can one set the global OID counter in 8.1.X? We think it would work > in 8.0.X using the COPY WITH OIDS command but this does not work in > 8.1.X anymore. pg_resetxlog -o (Postmaster stopped of course) -- Alvaro Herrerahttp:/

Re: [BUGS] [ADMIN] Fatal error

2005-10-29 Thread Tom Lane
"Peter Ivarsson" <[EMAIL PROTECTED]> writes: >>> FATAL: could not read statistics message: Resource temporarily >>> unavailable >> What platform is this on exactly, and what version of Postgres? > PostgreSQL version 8.0.4 and OS is OsX 10.3 on a Mac G4. I spent some time trying to duplicate t

Re: [BUGS] [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf

2005-02-20 Thread Bruce Momjian
Pallav Kalva wrote: > I am using 7.4.2 on Redhat 9 Linux 2.4. I know iam on old version, we > are actually planning to move to 8.0.1 soon, I just wanted to know if > this is bug if so if it is 7.4.2 related . You just need to stop your server, install 7.4.7 and restart. There is no reason to b

Re: [BUGS] [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf

2005-02-16 Thread Pallav Kalva
I am using 7.4.2 on Redhat 9 Linux 2.4. I know iam on old version, we are actually planning to move to 8.0.1 soon, I just wanted to know if this is bug if so if it is 7.4.2 related . Tom Lane wrote: Pallav Kalva <[EMAIL PROTECTED]> writes: do you think this problem is specific to the 7.4.2

Re: [BUGS] [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf

2005-02-16 Thread Tom Lane
Pallav Kalva <[EMAIL PROTECTED]> writes: > do you think this problem is specific to the 7.4.2 > version . You didn't say what platform this is, but it might be related to this 7.4.3 fix: 2004-04-24 16:10 tgl * src/backend/libpq/ip.c (REL7_4_STABLE): Ensure getaddrinfo_all retur

Re: [BUGS] [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf

2005-02-16 Thread Pallav Kalva
Hi Tom, Thanks! for the quick reply actually i forgot to attach the log file in my first email, the next email has the attachment, anyways here is the output from the log file. as you can see i have 5 numbers in the ip address which was a typo and postgres crashes when it reads the hba file

Re: [BUGS] [ADMIN] Postgres crashed on invalid IP entry in pg_hba.conf

2005-02-16 Thread Tom Lane
[EMAIL PROTECTED] writes: >Yesterday, our production database was crashed as soon as we added an > invlid > entry in the pg_hba.conf file. Immediately, after the SIGHUP it tried to read > the pg_hba.conf file and it couldnt validate the IP address and restarted the > postgres server, as soon a

Re: [BUGS] [ADMIN] postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8

2005-01-31 Thread Geoffrey
Donald Fraser wrote: I have a standard Redhat 9 installation with the exception of upgrading bison to bison-1.875-7.1 I can build the postgres rpm files from the source for version 7.4.5 no problems with the following command: rpmbuild --rebuild --define 'build89 1' --define 'python 0' --define 'te

Re: [BUGS] [ADMIN] postgresql-7.4.6-2PGDG.src.rpm broken for Redhat 7,8 or

2005-01-31 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, A workaround is symlinking /usr/lib/kerberos/* to /usr. We are aware of that and 7.4.7 will ship with that change. Regards, On Mon, 31 Jan 2005, Donald Fraser wrote: I have a standard Redhat 9 installation with the exception of upgrading bison to b

Re: [BUGS] [ADMIN] out of memory error

2004-06-09 Thread Jie Liang
I had a similar problem after upgrade to 7.4.2, Try: SET enable_hashagg = false; Before you execute that SELECT stmt If you don't want disable it in postgresql.conf Jie Liang -Original Message- From: Adi Alurkar [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 5:01 PM To: [EMAIL P

Re: [BUGS] [ADMIN] out of memory error

2004-06-09 Thread Naomi Walker
Jie Liang wrote: Does 7.3* support this? Can you tell me a bit more about it, please? Hash aggregate..? >I had a similar problem after upgrade to 7.4.2, >Try: >SET enable_hashagg = false; >Before you execute that SELECT stmt >If you don't want disable it in postgresql.conf > >Jie Liang > >

Re: [BUGS] [ADMIN] INITDB-error - end-of-copy marker error

2004-04-29 Thread Tom Lane
JC Jan Christensen <[EMAIL PROTECTED]> writes: > creating system viewsok > loading pg_description...ERROR: end-of-copy marker does > not match previous newline style > CONTEXT: COPY tmp_pg_description, line 1542: "" > initdb: failed I was about to say I tho

Re: [BUGS] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Bruce Momjian
Tom Lane wrote: > Breen Ouellette <[EMAIL PROTECTED]> writes: > > The result of this ambiguity is that the > > latest CD release of OpenBSD (3.4) no longer includes Postgresql > > We are not changing the license text we inherited from Berkeley. > We do not have the right to, nor any interest in do

Re: [BUGS] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Tom Lane
Breen Ouellette <[EMAIL PROTECTED]> writes: > The result of this ambiguity is that the > latest CD release of OpenBSD (3.4) no longer includes Postgresql We are not changing the license text we inherited from Berkeley. We do not have the right to, nor any interest in doing so. Our interpretation

Re: [BUGS] [ADMIN] Function immutable is not during a reindex ?

2003-07-13 Thread Mendola Gaetano
"Tom Lane" <[EMAIL PROTECTED]> wrote: > "Mendola Gaetano" <[EMAIL PROTECTED]> writes: > > #\d t_a > > Table "public.t_a" > > Column | Type | Modifiers > > +-+--- > > a | integer | > > b | integer | default 4 > > This is a bug, or at least a bad idea

Re: [BUGS] [ADMIN] Function immutable is not during a reindex ?

2003-07-13 Thread Tom Lane
"Mendola Gaetano" <[EMAIL PROTECTED]> writes: > On: Sunday, July 13, 2003 4:19 AM "Tom Lane" <[EMAIL PROTECTED]> wrote: >> So? Sounds to me like it's working as intended. > Well the documentation says: > IMMUTABLE [...] If this option is given, > any call of the function with all-constant > a

Re: [BUGS] [ADMIN] Function immutable is not during a reindex ?

2003-07-13 Thread Mendola Gaetano
On: Sunday, July 13, 2003 4:19 AM "Tom Lane" <[EMAIL PROTECTED]> wrote: > "Mendola Gaetano" <[EMAIL PROTECTED]> writes: > > the function is immutable but is executed 3 times > > ( one for each row). > > So? Sounds to me like it's working as intended. Well the documentation says: IMMUTABLE [...

Re: [BUGS] [ADMIN] Function immutable is not during a reindex ?

2003-07-12 Thread Tom Lane
"Mendola Gaetano" <[EMAIL PROTECTED]> writes: > the function is immutable but is executed 3 times > ( one for each row). So? Sounds to me like it's working as intended. regards, tom lane ---(end of broadcast)--- TIP 6: Have

Re: [BUGS] [ADMIN] Can't connect to my postgresql

2003-03-31 Thread Tom Lane
Daniel Rubio <[EMAIL PROTECTED]> writes: > Yes, there's a core in the data directory, here is the stack trace: > bash-2.03# pstack /apps/pgsql-7.3.2/data/core > core '/apps/pgsql-7.3.2/data/core' of 6308: > /apps/pgsql-7.3.2/bin/postmaster -D /apps/pgsql-7.3.2/da > 00123e24 user_group_bsearch_cm

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-03-03 Thread Tim Ellis
On Mon, 2003-02-24 at 23:03, Oliver Elphick wrote: > different for different countries. There was a discussion of this on > the patches list recently > (http://archives.postgresql.org/pgsql-patches/2003-02/msg00038.php and > the surrounding thread). The SQL spec calls for the Gregorian calendar >

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-03-03 Thread Ross J. Reedstrom
On Mon, Feb 24, 2003 at 11:06:38PM -0500, Tom Lane wrote: > Robert Treat <[EMAIL PROTECTED]> writes: > > I guess adding 1 day to 1752-09-02 should give us 1752-09-14, but your > > right, it gives us 1752-09-03. > > As was pointed out at length just recently, the transition from Julian > to Gregori

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-02-25 Thread Oliver Elphick
On Tue, 2003-02-25 at 22:08, Tim Ellis wrote: > On Mon, 2003-02-24 at 23:03, Oliver Elphick wrote: > > different for different countries. There was a discussion of this on > > the patches list recently > > (http://archives.postgresql.org/pgsql-patches/2003-02/msg00038.php and > > the surrounding t

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-02-25 Thread Oliver Elphick
On Mon, 2003-02-24 at 22:59, Robert Treat wrote: > [EMAIL PROTECTED] rms_db]$ cal 9 1752 >September 1752 > Su Mo Tu We Th Fr Sa >1 2 14 15 16 > 17 18 19 20 21 22 23 > 24 25 26 27 28 29 30 > > I guess adding 1 day to 1752-09-02 should give us 1752-09-14, but your > right, it gives us

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-02-24 Thread Tom Lane
Robert Treat <[EMAIL PROTECTED]> writes: > I guess adding 1 day to 1752-09-02 should give us 1752-09-14, but your > right, it gives us 1752-09-03. As was pointed out at length just recently, the transition from Julian to Gregorian calendars happened at different times in different places. So the a

Re: [BUGS] [ADMIN] Date Return must be As per Natural Calander

2003-02-24 Thread Robert Treat
[EMAIL PROTECTED] rms_db]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 I guess adding 1 day to 1752-09-02 should give us 1752-09-14, but your right, it gives us 1752-09-03. Forwarding this to -bugs Robert Treat On Sun, 200

Re: [BUGS] [ADMIN] PANIC: unable to locate a valid checkpoint record

2003-02-21 Thread Ganesan R
On Thu, Feb 20, 2003 at 11:07:55PM -0500, Tom Lane wrote: > Ganesan R <[EMAIL PROTECTED]> writes: > > I am using 7.3.2. postmaster prints this on starting up: > > > LOG: ReadRecord: bad resource manager data checksum in record at 0/E42144 > > > pg_resetxlog is able to recover from the problem; b

Re: [BUGS] [ADMIN] PANIC: unable to locate a valid checkpoint record

2003-02-21 Thread Ganesan R
On Thu, Feb 20, 2003 at 11:07:55PM -0500, Tom Lane wrote: > Ganesan R <[EMAIL PROTECTED]> writes: > > I am using 7.3.2. postmaster prints this on starting up: > > > LOG: ReadRecord: bad resource manager data checksum in record at 0/E42144 > > > pg_resetxlog is able to recover from the problem; b

Re: [BUGS] [ADMIN] PANIC: unable to locate a valid checkpoint record

2003-02-20 Thread Tom Lane
Ganesan R <[EMAIL PROTECTED]> writes: > We've able recreate the problem on another platform; It seems pretty dang odd that you should be able to reproduce the problem on two different platforms, when no one else has reported it at all. Can you think of anything unusual that might be shared by the

Re: [BUGS] [ADMIN] PANIC: unable to locate a valid checkpoint record

2003-02-20 Thread Tom Lane
Ganesan R <[EMAIL PROTECTED]> writes: > I am using 7.3.2. postmaster prints this on starting up: > LOG: ReadRecord: bad resource manager data checksum in record at 0/E42144 > pg_resetxlog is able to recover from the problem; but I am concerned because > I can reproduce the scenario very easily.

Re: [BUGS] [ADMIN] PostgreSQL 7.3 installation on RedHat 8.0 fails

2002-12-13 Thread Tom Lane
Murthy Kambhampaty <[EMAIL PROTECTED]> writes: > "/home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loc > al/pgsql/bin/pg_encoding: relocation error: > /home/postgres/postgresql-7.3/src/test/regress/./tmp_check/install//usr/loca > l/pgsql/bin/pg_encoding: undefined symbol: pg_

Re: [BUGS] [ADMIN] PostgreSQL Installation on SCO

2002-11-01 Thread Bruce Momjian
Have you read the SCO FAQ? http://www.us.postgresql.org/users-lounge/docs/faq.html Also, we are about to release 7.3. Would you please try 7.3beta3 and let us know how that works? --- Shibashish wrote: > Dear Sir,

Re: [BUGS] [ADMIN] ineffiency of pg_restore

2002-08-12 Thread Tom Lane
Jie Liang <[EMAIL PROTECTED]> writes: > I use: > pg_dump -Fc -d urldb > urldb.out.020810 ^^ There you have it. Better read the pg_dump help output again. regards, tom lane ---(end of broadcast)--- TIP 4: Don'