Re: [ADMIN] please help me

2010-08-27 Thread Kevin Grittner
pavankumar reddy wrote: > working on postgresql 8.1.4 You need to at least get onto an 8.1 revision which is more recent. You're missing over four years of bug fixes. http://www.postgresql.org/support/versioning http://www.postgresql.org/docs/8.1/static/release.html > 1)IAM UNABLE TO TA

[ADMIN] please help me

2010-08-27 Thread pavankumar reddy
HELLO , This is pavankumar , working on postgresql 8.1.4, database, for which iam new and very less in knowledge. Iam not an expert. please help me in resolving the problem which iam facing since one week.the problem is 1)IAM UNABLE TO TAKE A COMPLETE BACKUP OF DATABASE 2)IAM UNABLE T

Re: [ADMIN] Please Help... Service fails to start

2009-11-03 Thread Hengky Lie
Dear friends, At last i can solved the problem by running CHKDSK. This program found bad allocation unit on pg_clog folder. After repairing, service can start again. Thank you for your advice. I really appreciate it. Regards, Hengky On Nov 4, 2009, at 2:14 AM, Scott Marlowe wrote: On T

Re: [ADMIN] Please Help... Service fails to start

2009-11-03 Thread Scott Marlowe
On Tue, Nov 3, 2009 at 12:41 AM, Hengky Lie wrote: > What exactly file pg_clog/0085 exactly is ? Thank you for any advice. Now > i'm trying to check file permission and antivirus. > pg_clog contains the commit log. Once things in pg_xlog have been committed to disk when the background writer get

Re: [ADMIN] Please Help... Service fails to start

2009-11-02 Thread Hengky Lie
--- On Tue, 3/11/09, Tom Lane wrote: From: Tom Lane Subject: Re: [ADMIN] Please Help... Service fails to start To: "Hengky Lie" Cc: pgsql-admin@postgresql.org Date: Tuesday, 3 November, 2009, 3:37 AM Hengky Lie writes: > 2009-11-02 10:13:35 FATAL: could not access status of tr

Re: [ADMIN] Please Help... Service fails to start

2009-11-02 Thread Sam Jas
uch the file and restart the database. However, in this case you will be lose your data.  -- Thanks Sam Jas --- On Tue, 3/11/09, Tom Lane wrote: From: Tom Lane Subject: Re: [ADMIN] Please Help... Service fails to start To: "Hengky Lie" Cc: pgsql-admin@postgresql.org Date: Tuesd

Re: [ADMIN] Please Help... Service fails to start

2009-11-02 Thread Tom Lane
Hengky Lie writes: > 2009-11-02 10:13:35 FATAL: could not access status of transaction > 139856778 > 2009-11-02 10:13:35 DETAIL: Could not read from file "pg_clog/0085" > at offset 98304: Permission denied. You need to fix that "Permission denied" problem. Either the file really is marked

[ADMIN] Please Help... Service fails to start

2009-11-02 Thread Hengky Lie
Dear Friends, I really need help for my problem, 7 days ago Postgresql service fails to start and i have no backup ! (OS: Windows XP Pro). I tried googling everywhere but didn't find any solution. I had tried to start the service manually from control panel, it started for about 5 seconds

Re: [ADMIN] Please, help me configuring RFT

2009-07-27 Thread Tom Lane
"Kevin Grittner" writes: > TRAN THI NGOC MAI wrote: >> 2009-07-26 11:58:49,037 ERROR service.ReliableFileTransferImpl >> [main,:68] Unable to setup database driver with >> pooling.Backend start-up failed: FATAL: database "rftDatabase", OID >> 17142, has disappeared from pg_database > If not,

Re: [ADMIN] Please, help me configuring RFT

2009-07-27 Thread Kevin Grittner
TRAN THI NGOC MAI wrote: > Stopping postgresql service: [ OK ] > Starting postgresql service: [ OK ] So it appears that PostgreSQL is working OK. Right? > 2009-07-26 11:58:49,037 ERROR service.ReliableFileTransferImpl > [main

[ADMIN] Please, help me configuring RFT

2009-07-26 Thread TRAN THI NGOC MAI
Please, help me! I install postgresql to configuring RFT. But when I start postgresql and start globus container, I get error in the log file Here is the result when I type command: -- [r...@linux01 globus]# /etc/init.d/postgresql restart Stopping postgresql service:

Re: [ADMIN] Please help (backup)

2007-10-22 Thread Scott Marlowe
On 10/22/07, Anibal David Acosta <[EMAIL PROTECTED]> wrote: > > Really all file content after object definitions looks like > "Encoded/Encrypted" and when I do a restore all table data are restored > successfully (except one, that is in the "corrupted sector"). So, maybe the > pg_dump do a encrypt

Re: [ADMIN] Please help (backup)

2007-10-22 Thread Anibal David Acosta
of the corrupt data…     -Original Message- From: Anibal David Acosta [mailto:[EMAIL PROTECTED]] Sent: Monday, 22 October 2007 15:33 To: Phillip Smith Subject: Re: [ADMIN] Please help (backup)   I open with word pad & notepad, but table, functions and other object declarations looks like &

Re: [ADMIN] Please help (backup)

2007-10-22 Thread Phillip Smith
Acosta [mailto:[EMAIL PROTECTED] Sent: Monday, 22 October 2007 15:33 To: Phillip Smith Subject: Re: [ADMIN] Please help (backup) I open with word pad & notepad, but table, functions and other object declarations looks like "plain text" but the DATA nope. This is the beginnig of

Re: [ADMIN] Please help (backup)

2007-10-21 Thread Phillip Smith
] [mailto:pgsql-admin- > [EMAIL PROTECTED] On Behalf Of Anibal David Acosta > Sent: Monday, 22 October 2007 11:16 > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Please help (backup) > > I have a backup done with "pg_dump" utility. > > For some reason th

[ADMIN] Please help (backup)

2007-10-21 Thread Anibal David Acosta
I have a backup done with "pg_dump" utility. For some reason the backup file has 8 phisical bad sectors (17 KB of data) Now when I try to restore the backup all tables are created successfully and data of almost all tables restores successfully too, but one table (the most important) appear em

Re: [ADMIN] Please help

2007-01-11 Thread Adam Witney
You can unsubscribe here http://www.postgresql.org/community/lists/subscribe On 11/1/07 14:05, in article [EMAIL PROTECTED], ""raphael ferrer"" <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to stop receive emails from pg forum. > > How could i do that? > > Thanks > > ___

[ADMIN] Please help

2007-01-11 Thread raphael ferrer
Hello, I would like to stop receive emails from pg forum. How could i do that? Thanks _ Die MSN Homepage liefert Ihnen alle Infos zu Ihren Lieblingsthemen. http://ch.msn.com/ ---(end of broadcast)--

[ADMIN] Please help

2006-01-13 Thread Dragos Pruteanu
I try to restore a backup, but I got the following error: pg_restore: [custom archiver] could not read data block -- expected 4096, got 2353 I run pg_ctl (PostgreSQL) 8.0.3 I've tried the same with different backups ( one day before or after ) , and I tried also with -i flag ( ignore version )

[ADMIN] Please help me to implement PGSQL8.0 no-installer in Windows 2k,XP & NT ?

2005-12-28 Thread Mohamed Fazil
Hi,   With this i enclosed my requirement. Along with this i would like to know your suggestion and the way to impliment the same as a service. Please note that i am using PGSQL 8.0 no-installer in Windows. One of the member had came up with the suggestion that it is related to Windows impersonal

[ADMIN] Please help

2005-09-12 Thread ajith kumar
Sir/Madam i need to take back up (dump file) using sql command. i am using vb as front end. So i need to take the back up using front end. so i need the sql command. I need the same command for restore also. Please help me. __ Do You Yahoo!? Tired o

Re: [ADMIN] Please help - libpq API

2005-09-11 Thread Pradeepkumar, Pyatalo (IE10)
08, 2005 10:17 PM To: Alvaro Herrera Cc: Pradeepkumar, Pyatalo (IE10); pgsql-admin@postgresql.org; [EMAIL PROTECTED] Subject: Re: [ADMIN] Please help - libpq API Alvaro Herrera <[EMAIL PROTECTED]> writes: > On Wed, Sep 07, 2005 at 11:40:57PM -0700, Pradeepkumar, Pyatalo (IE10) wrote: &

Re: [ADMIN] Please help - libpq API

2005-09-08 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > On Wed, Sep 07, 2005 at 11:40:57PM -0700, Pradeepkumar, Pyatalo (IE10) wrote: >> Even if somehow if I convert wchar_t * to char * and provide it to >> Postgres, how will it differentiate between chinese characters and normal >> characters ?? > Please n

Re: [ADMIN] Please help - libpq API

2005-09-08 Thread Alvaro Herrera
On Wed, Sep 07, 2005 at 11:40:57PM -0700, Pradeepkumar, Pyatalo (IE10) wrote: > I have already posted my query regarding libpq functions and wide character > support. Pls somebody help me. I am using libpq API functions in my C code > to do operations on the database. But the problem I m facing is

Re: [ADMIN] Please help - libpq API

2005-09-08 Thread Guido Barosio
Hi, I think that this is the wrong list for your problem. My suggestions: contact pgsql-hackers or check the lists in the postgresql.org page, you will prolly find one list to suit with this. or irc.freenode.net, join #postgresql . Good boys lurking there, you will have to fight, but help will be

[ADMIN] Please help - libpq API

2005-09-07 Thread Pradeepkumar, Pyatalo (IE10)
Title: Please help - libpq API Hi all, I have already posted my query regarding libpq functions and wide character support. Pls somebody help me. I am using libpq API functions in my C code to do operations on the database. But the problem I m facing is API functions like PQexec() etcac

Re: [ADMIN] Please help!!!!!!!!!

2004-11-16 Thread Michael Fuhr
On Mon, Nov 15, 2004 at 10:15:30AM +0530, [EMAIL PROTECTED] wrote: > Hi, Im migrating our database from MSSQL7.0 to postgresql on > Solaris 9(sparc).But we have got problem in compiling the source > code of postgresql on solaris.Can we have precompiled package of > postgresql stable version for so

[ADMIN] Please help!!!!!!!!!

2004-11-16 Thread jagbirs
Hi, Im migrating our database from MSSQL7.0 to postgresql on Solaris 9(sparc).But we have got problem in compiling the source code of postgresql on solaris.Can we have precompiled package of postgresql stable version for solaris9 sparc plateform. Its urgent, please help us. Jagbir Singh "The C

[ADMIN] Please help (backup -restore)

2003-09-25 Thread Pravas Ray
(B (B (BDear Sir, (BI need your help. I am (Bnew to  postgresql 7.3.2 .   My requirement is row level (Bincermental backup with image & movies (datatype (Bbytea).   Ex: I have tables say sports,music,film. In (Ball those tables I have test data aswell as bytea data(image & (Bmovie). 

[ADMIN] Please Help me ???

2003-09-19 Thread utomo restu
To all, I want to ask some questions: 1. I want to changes the posisions of postgres super user with my user, so my user have a function same with postgres super user (I want only one super user in my database). so if i do it, what happens on my database...?? 2.How i now total

Re: [ADMIN] Please Help me ????

2003-05-31 Thread Robert Treat
First, make sure your running on a version of 7.3, then check out the following docs: http://techdocs.postgresql.org/guides/SetReturningFunctions http://www.gtsm.com/cgi/psearch?page=plpgsql.html;q=plpgsql;j=0;c=0;h=0 Robert Treat On Fri, 2003-05-30 at 00:08, utomo restu wrote: > > Dear All >

[ADMIN] Please Help me ????

2003-05-30 Thread utomo restu
Dear All I'am a new user in postgresql, i want to ask about : 1. The one who is intended with STORED PROCEDURE, how its implement and what its surplus. Version POSTGRESQL that how much possess STRORED PROCEDURE. 2. In when I make the function as follows: CREATE FUNCTION forward(

Re: [ADMIN] please help--database just locks up.

2003-02-17 Thread Ed L.
On Monday February 17 2003 4:31, Mona Gamboa wrote: > ok...here's the output.[kinda nasty to read] Nothing obvious to me. If it is reproduceable, you might try turning on some of the lock tracing directives in postgresql.conf and/or increasing the logging level. You might also try attaching to

Re: [ADMIN] please help--database just locks up.

2003-02-17 Thread Mona Gamboa
]> To: "Mona Gamboa" <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 4:00 PM Subject: Re: [ADMIN] please help--database just locks up. Can you post the output of these commands? uname -a export PGDATA=/path/to/your/data grep ^log_ $PGDATA/postgresql.conf cat $PGDATA/postmaster

[ADMIN] please help--database just locks up.

2003-02-17 Thread Mona Gamboa
we are running linux and postgres7.3.2 in a production environment.   the database just 'locks ups.'  if i try to get into psql X [where X is my database or template 0 or template 1]  it just sits there. the log files don't  say anything..there's no indication as to what is happening.  

[ADMIN] Please help

2002-04-15 Thread Tariq Muhammad
Hi Folks I am trying to write a function that should archive old values to an archiving table before update on the orignal table but it inserts both old and new values to the archiving table here is the code: CREATE FUNCTION fn_archive_01() RETURNS OPAQUE AS ' BEGIN /* TG_OP is the

Re: [ADMIN] Please help me write this query or function

2001-12-12 Thread Masaru Sugawara
On Tue, 11 Dec 2001 23:54:45 +1100 (EST) Mr OCP <[EMAIL PROTECTED]> wrote: > Hi > > We have a table like follows: > > id, account_name, amount, action_type > > The amount field has both debit and credit entires and > action_type defines the type of transaction ( debit or > credit), debit entr

[ADMIN] Please help me write this query or function

2001-12-11 Thread Mr OCP
Hi We have a table like follows: id, account_name, amount, action_type The amount field has both debit and credit entires and action_type defines the type of transaction ( debit or credit), debit entries have negative '-' symbol before the amount. where there are multipble transaction for the

Re: [ADMIN] Please help

2001-11-20 Thread Ferdinand Smit
Hi Mike, > Can anyone help me write a trigger on a table, I have > created an audit table for a table and what I want > trigger to do is to whenever a record is deleted from > the table it should first be inserted into the audit > table, just to keep track of whatever records are > deleted. Is t

[ADMIN] Please help

2001-11-19 Thread Mr OCP
Hi Can anyone help me write a trigger on a table, I have created an audit table for a table and what I want trigger to do is to whenever a record is deleted from the table it should first be inserted into the audit table, just to keep track of whatever records are deleted. Thanks so much for you

Re: [ADMIN] Please help - tks

2001-10-19 Thread Brett Schwarz
Sorry, my bad. I thought your whole point was in regards to the sleep command (which I really didn't understand why). However, your point about stressing the server is a very valid point, and I did not catch that in your earlier post. My apologies for the misunderstanding... --brett p.s. it's

Re: [ADMIN] Please help - tks

2001-10-19 Thread Brian McCane
Brett, It appears that I may have upset you somehow. I didn't intend to. I chose to write the PERL script to place them in a transaction to help improve performance a little bit on each pass. By building and tearing down a connection to the postmaster everytime you send an update, you will b

Re: [ADMIN] Please help - tks

2001-10-18 Thread Brett Schwarz
This is why I said this: > > adjust the sleep to your own specs. If he wants to "batch" them, then all he needs to do is add a condition/count: #!/bin/sh cnt=1 while read line; do # "batches" of 20 or whatever you *want* if [ "X$cnt" == "X20" ];

Re: [ADMIN] Please help - tks

2001-10-18 Thread Brian McCane
Much too quick and dirty. With 300,000 updates this will take 1.5million seconds, roughly 200 days. Even at a rate of 1 a second it will take nearly four days. All this aside, I would probably use a perl script and do batches of about 10-20, with a sleep. You can try something like the followi

Re: [ADMIN] Please help - tks

2001-10-18 Thread Peter Eisentraut
Mr OCP writes: > We have about 300,000 records to update, I have created a file with > the ids of the records to be updated, since the number of records to > be updated is very large, the update statement takes forever and > server slows down dramatically, therefore I want to do one at a time. T

Re: [ADMIN] Please help - tks

2001-10-18 Thread Joel Burton
On Thu, 18 Oct 2001, [iso-8859-1] Mr OCP wrote: > Hi Folks > > We have about 300,000 records to update, I have > created a file with the ids of the records to be > updated, since the number of records to be updated is > very large, the update statement takes forever and > server slows down dramat

Re: [ADMIN] Please help - tks

2001-10-18 Thread Brett Schwarz
A quick and dirty solution would be something like (untested): while read line; do psql dbname -c "update table ... use 'line' as your id and data" sleep 5 done < filename where "filename" is the file with the ids in it. "dbname" is the name of your DB (of course!) I am not su

[ADMIN] Please help - tks

2001-10-18 Thread Mr OCP
Hi Folks We have about 300,000 records to update, I have created a file with the ids of the records to be updated, since the number of records to be updated is very large, the update statement takes forever and server slows down dramatically, therefore I want to do one at a time. Do you guys hav

Re: [ADMIN] Please help me

2001-07-20 Thread Oleg Bartunov
Do you plan to use http for your service ? If so, I'd recommend to use following architecture: FE - proxy server is serving incoming requests and provides results to client. It could be very light http server with proxy support. BE - cgi-backend which receive proxied requests, contact with databa

[ADMIN] Please help me

2001-07-20 Thread Mihai Afteni
I have to provide a hardware-software configuration based on a PG database, capable to support min 500 simultaneous users each one accesing pages that send an average 6 queries per page. Minimum display time of any page = 5 second. I have no precise idea about how such a configuration will be.

[ADMIN] Please help me....

2001-05-22 Thread waheed rahman
Dear Sir, I am waheed from dubai. I got your mailid, when i am searching for a document in postgresql.And your document helped me alot and i some more doubts i hope you can help me. This is my problem. I am having a table called FRUITS which will be updated by the merchants frequently as the me

Re: [ADMIN] Please help me with pg_hba.conf file settings

2000-11-23 Thread Peter Eisentraut
akacker writes: > I tried adding the following lines to pg_hba.conf file : > > host all 64.65.7.145 255.255.255.255 password pgpass > > I created pgpass by the command pg_passwd pgpass and added > the user (i.e my client username and password) but it did not > work. Define "did not work". th

[ADMIN] Please help me with pg_hba.conf file settings

2000-11-23 Thread akacker
  Dear SirHello!I have a Linux web server on which I am providing name based hosting services to my clients.I want that my clients who have their virtual sites on my server shouldbe able to connect to their databases by using php or any other server side programs to connect to postgresql dat

[ADMIN] PLEASE HELP me -> password authentication problem

1999-02-02 Thread Olsen, James
Hello all, I'm using PostGre 6.3 on a Linux box and connecting to it via Insight's ODBC 6.40.0004 driver from Win98. However, I don't think my problem lies with PG 6.3 or the ODBC driver, I think my problem is my lack of understanding on how to correctly setup passwords. I've searched through th

[ADMIN] Please help with performance tuning on Postgres

1998-10-03 Thread Greg Youngblood
I have a database running fine, however, it is purely stock configuration. I would like to fine tune it for better performance and to control memory usage. I have seen people refer to restricting the number of back end processes, and fine tuning maximum memory consumption as well as other items.