Re: [BUGS] When Drop Table or alter Table I need restart service Posgresql - 8.1 ?????

2009-08-21 Thread Robert Haas
On Fri, Aug 21, 2009 at 10:36 AM, fabiofurlan wrote: > > Hi. > > I do not any idea. > > When i drop table or alter table, i need restart service postgresql 8.1, > because is impossible new connect or > because the changes are not visible. > > Gnu Linux Debian 4.0 > PostgreSQL 8.1 > > > Thanks a lot

Re: [BUGS] Regarding permissions

2009-08-21 Thread Robert Haas
On Wed, Aug 19, 2009 at 5:45 AM, Gaurav K Srivastav wrote: > HI, > > I have a normal user  'abcd' and grant all previliges to this user on the > database 'pqr'. > now i am unable to use dblink(text,text). > while via super user 'postgre' which is the owner of database  'postgre'  I > am able to use

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Tom Lane
Radoslaw Zielinski writes: > Greg Stark [2009-08-21 18:55]: >> Is this, perchance, new hardware? Did you test the memory in it? > It's a "virtual private server"; the hosting provider is swearing > everything's fine. I can't vouch for it myself, obviously. Hmmm ... have you had any crashes? I

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Greg Stark
2009/8/21 Radoslaw Zielinski : > Greg Stark [2009-08-21 18:38]: > [...] >> the toast table. Not unless you can dump the whole index and find >> pointers in there or can find the details in the wal log. > > You mean the primary key index?  How do I dump it? Actually I mean the key for the toast ta

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Radoslaw Zielinski
Greg Stark [2009-08-21 18:38]: [...] > the toast table. Not unless you can dump the whole index and find > pointers in there or can find the details in the wal log. You mean the primary key index? How do I dump it? -- Radosław Zieliński pgpdIiosOzpYQ.pgp Description: PGP signature

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Radoslaw Zielinski
Greg Stark [2009-08-21 18:55]: [...] > Is this, perchance, new hardware? Did you test the memory in it? It's a "virtual private server"; the hosting provider is swearing everything's fine. I can't vouch for it myself, obviously. > Do you have other records that have "disappeared"? I haven't fo

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Greg Stark
2009/8/21 Radoslaw Zielinski : > Greg Stark [2009-08-21 18:03]: >> On Fri, Aug 21, 2009 at 4:04 PM, Radoslaw Zielinski >> wrote: >>> This particular row currently has last_modified="2009-08-11", but table_log >>> says it has been updated on "2009-08-12" -- so, data loss. > >> These are all very l

Re: [BUGS] When Drop Table or alter Table I need restart service Posgresql - 8.1 ?????

2009-08-21 Thread Jaime Casanova
On Fri, Aug 21, 2009 at 9:36 AM, fabiofurlan wrote: > > Hi. > > I do not any idea. > > When i drop table or alter table, i need restart service postgresql 8.1, > because is impossible new connect or > because the changes are not visible. > no, you don't have to. you have a specific problem of this

Re: [BUGS] BUG #5004: pg_freespacemap make a SegFault

2009-08-21 Thread Tom Lane
"Sebastien Lardiere" writes: > Description:pg_freespacemap make a SegFault There's a post-8.3.7 fix that might cure this: http://archives.postgresql.org/pgsql-committers/2009-04/msg00108.php regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@post

Re: [BUGS] BUG #5001: can not prepare for where $1 is null

2009-08-21 Thread Pavel Stehule
Hello 2009/8/21 <94487...@qq.com>: > > The following bug has been logged online: > > Bug reference:      5001 > Logged by: > Email address:      94487...@qq.com > PostgreSQL version: 8.3.3 > Operating system:   linux > Description:        can not prepare for where $1 is null > Details: > > why ca

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Radoslaw Zielinski
Greg Stark [2009-08-21 18:12]: [...] > Or alternatively do you have all the wal logs and could you run > xlogdump on them looking for transaction id 6179? Nope, I don't have the wal logs. -- Radosław Zieliński pgpO5wPiNs71J.pgp Description: PGP signature

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Radoslaw Zielinski
Greg Stark [2009-08-21 18:03]: > On Fri, Aug 21, 2009 at 4:04 PM, Radoslaw Zielinski > wrote: >> This particular row currently has last_modified="2009-08-11", but table_log >> says it has been updated on "2009-08-12" -- so, data loss. > These are all very low transaction ids. you say it was a we

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Greg Stark
On Fri, Aug 21, 2009 at 5:15 PM, Alvaro Herrera wrote: > I wonder if this could be explained by xid=6179 not marked as committed > in clog.  I'd try flipping that bit and see what happens ... Well nothing's going to help much now. Firstly, once the hint bit gets set nothing second-guesses that and

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Tom Lane
Alvaro Herrera writes: > I wonder if this could be explained by xid=6179 not marked as committed > in clog. I'd try flipping that bit and see what happens ... Once the row's been marked XMAX_INVALID, changing clog won't change that marking ... regards, tom lane -- Sent

[BUGS] BUG #5004: pg_freespacemap make a SegFault

2009-08-21 Thread Sebastien Lardiere
The following bug has been logged online: Bug reference: 5004 Logged by: Sebastien Lardiere Email address: slardi...@hi-media.com PostgreSQL version: 8.3.7 Operating system: Debian Etch Description:pg_freespacemap make a SegFault Details: I've got a crash with a clu

[BUGS] When Drop Table or alter Table I need restart service Posgresql - 8.1 ?????

2009-08-21 Thread fabiofurlan
Hi. I do not any idea. When i drop table or alter table, i need restart service postgresql 8.1, because is impossible new connect or because the changes are not visible. Gnu Linux Debian 4.0 PostgreSQL 8.1 Thanks a lot. -- View this message in context: http://www.nabble.com/When-Drop-Ta

[BUGS] BUG #5003: setup error

2009-08-21 Thread Pramod
The following bug has been logged online: Bug reference: 5003 Logged by: Pramod Email address: pramodchoudhar...@yahoo.com PostgreSQL version: 8.4.0-1 Operating system: Windows XP Description:setup error Details: setup error showing message: "An error occured while

[BUGS] BUG #5001: can not prepare for where $1 is null

2009-08-21 Thread
The following bug has been logged online: Bug reference: 5001 Logged by: Email address: 94487...@qq.com PostgreSQL version: 8.3.3 Operating system: linux Description:can not prepare for where $1 is null Details: why can not prepare like this? thanks! prepare

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Alvaro Herrera
Greg Stark wrote: > It looks like the row *was* updated by transaction 6179 and the new > version was stored in line pointer 12. However it's marked > XMAX_INVALID which means at least somebody at some point thought 6179 > had aborted and marked that hint bit. Hmm, but LP 12 shouldn't have len=0

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Alvaro Herrera
Radoslaw Zielinski wrote: > Hello, > > 8.4.0 installation on i686 modern Linux, a simple production app with ~4 > users entering data; normalised, no weird stuff happening there. Recently: > > ERROR: missing chunk number 0 for toast value 120741 in pg_toast_29644 > bug=# select id, last_modi

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Greg Stark
On Fri, Aug 21, 2009 at 5:03 PM, Greg Stark wrote: > On Fri, Aug 21, 2009 at 4:04 PM, Radoslaw Zielinski > wrote: > > Here's a dump of that page btw. ... [crap word-wrapped by gmail] Sorry, clearly gmail sucks for posting things that you actually care about how they're formatted. I've attached th

Re: [BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Greg Stark
On Fri, Aug 21, 2009 at 4:04 PM, Radoslaw Zielinski wrote: > This particular row currently has last_modified="2009-08-11", but table_log > says it has been updated on "2009-08-12" -- so, data loss. These are all very low transaction ids. you say it was a week of production before this happened?

[BUGS] 8.4.0 data loss / HOT-related bug

2009-08-21 Thread Radoslaw Zielinski
Hello, 8.4.0 installation on i686 modern Linux, a simple production app with ~4 users entering data; normalised, no weird stuff happening there. Recently: ERROR: missing chunk number 0 for toast value 120741 in pg_toast_29644 This table has table_log and a "before update" trigger setting "NE

Re: [BUGS] BUG #4991: problem with ODBC driver 8.4

2009-08-21 Thread Hiroshi Saito
Hi Annita-san. Thank you for many report. However, It is a very strange situation... that visible problem resembles the phenomenon in which libpq.dll is only not found. Therefore, there is information I want you to check. 1. Is libpq.dll in the place of installed psqlodbc35w.dll? ex.) C:\Progra