Re: [ADMIN] Performance Problem Index Ignored, but why

2002-05-21 Thread Tom Lane
"Thomas A. Lowery" <[EMAIL PROTECTED]> writes: > Can I force the use of an index? Try "set enable_seqscan = off". But on the basis of what you've shown, it's not obvious that an indexscan will be faster. Is the planner's estimate that 139654 rows will match f_state = 'PA' in the right ballpark?

[ADMIN] Performance Problem Index Ignored, but why

2002-05-21 Thread Thomas A. Lowery
I've the task of porting a current Oracle application to PostgreSQL. Database: 7.2.1 OS: Linux 2.4.9-13smp I've an odd thing happening with a query. Using a simple table: Table "state_tst" Column | Type | Modifiers -+--+--- id

[ADMIN] port database to support japanese characters

2002-05-21 Thread Christopher Smith
1. what is necessary to use japanese at the psql command prompt?  I changed the encoding to SJIS. 2, does any one know of any jdbc examples with a japanese postgresql backend. Thanks, Christopher smithDo You Yahoo!? LAUNCH - Your Yahoo! Music Experience

Re: [ADMIN] Informacion

2002-05-21 Thread Luis Andaluz P,
No tengo ningun problema, solo quisiera saber que debo hacer en caso de que la base se llege a caer y no quiera funcionar. ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmai

Re: [ADMIN] cannot find attribute 1 of relation (second occurrence.)

2002-05-21 Thread Tom Lane
"Nick Fankhauser" <[EMAIL PROTECTED]> writes: > No Problem- we'll do that. Is there a table that contains the mapping from > the database object names to the actual filenames? Look at the relfilenode column of pg_class for the individual file names, and at the OID column of pg_database for the di

Re: [ADMIN] cannot find attribute 1 of relation (second occurrence.)

2002-05-21 Thread Nick Fankhauser
Tom- No Problem- we'll do that. Is there a table that contains the mapping from the database object names to the actual filenames? -Nick > Next time it happens, would you shut down the > postmaster and make a copy of pg_attribute and its indexes (the physical > files) to send to me, before you

Re: [ADMIN] cannot find attribute 1 of relation (second occurrence.)

2002-05-21 Thread Tom Lane
"Nick Fankhauser" <[EMAIL PROTECTED]> writes: > We've just seen the following error for a second time since upgrading to > 7.2.1-2: > cannot find attribute 1 of relation > The first time, Tom Lane helped us by suggesting a reindex of pg_attribute. > I tried this on the second case as well, and it

[ADMIN] cannot find attribute 1 of relation (second occurrence.)

2002-05-21 Thread Nick Fankhauser
Hi- We've just seen the following error for a second time since upgrading to 7.2.1-2: cannot find attribute 1 of relation The first time, Tom Lane helped us by suggesting a reindex of pg_attribute. I tried this on the second case as well, and it solved the problem. At this point, I'm concerne

Re: [ADMIN] Upgrade to 7.2

2002-05-21 Thread Tom Lane
Scott Taylor <[EMAIL PROTECTED]> writes: > Could anyone tell me what (if anything) I can do if I upgraded from 7.1.3 to > 7.2, without doing backup (pg_dump). I cannot read my dataset because it is > incompatible with new version. Could you give me the commands? You're going to have to reinstal

Re: [ADMIN] Is it safe to increase pg_attribute.atttypmod ?

2002-05-21 Thread Nick Fankhauser
Tom, Joe: > Yup, that's the standard hack. Thanks very much! This saved us hours. -Nick ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [ADMIN] Upgrade to 7.2

2002-05-21 Thread Rajesh Kumar Mallah.
Hi Scott, You must dump and reload the data when upgrading from 7.1.x to 7.2.x I feel i had read like that in the release notes for 7.2.x are u facing any problem in pg_dumping ?? regds. mallah. On Tuesday 21 May 2002 04:12 pm, Scott Taylor wrote: > Could anyone tell me what (if anything) I

[ADMIN] Upgrade to 7.2

2002-05-21 Thread Scott Taylor
Could anyone tell me what (if anything) I can do if I upgraded from 7.1.3 to 7.2, without doing backup (pg_dump). I cannot read my dataset because it is incompatible with new version. Could you give me the commands? I have Red Hat 7.3 (running SQL Ledger) my data set is at: /usr/local/www/sql-

[ADMIN] Fwd: Upgrade to 7.2

2002-05-21 Thread Scott Taylor
-- Forwarded Message -- Subject: Upgrade to 7.2 Date: Tue, 21 May 2002 11:42:28 +0100 From: Scott Taylor <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Could anyone tell me what (if anything) I can do if I upgraded from 7.1.3 to 7.2, without doing backup (pg_dump). I cannot read m