Re: [ADMIN] Pg 7.4 to 8.1 UTF problems

2006-02-11 Thread Josh O'Brien
run this coversion command time iconv -c -f UTF8 -t UTF8 -o newdump.sql olddump.sql Josh O'Brien Mario Splivalo wrote: Hello. I have a database created with -E UTF-8. I need to transfer it to pg8.1.2. First I dumped the database: pg_dump -v -E UTF-8 the_database > the_database.psql Then I

Re: [ADMIN] Could not start the PostgreSQL Database Server [version # inserted here] service on local computer

2006-02-11 Thread Magnus Hagander
> My database it was going fine until today. > > The error message is: > > "Could not start the PostgreSQL Database Server [version # > inserted here] service on local computer. > The service did not return an error. This could be an > internal Windows error or an internal service error. > I

Re: [ADMIN] Pg 7.4 to 8.1 UTF problems

2006-02-11 Thread Tom Lane
Mario Splivalo <[EMAIL PROTECTED]> writes: > psql:the_database.psql:86: ERROR: invalid UTF-8 byte sequence detected > near byte 0x8d > CONTEXT: COPY _netsms, line 1367, column text: "Padamo u pozu 69.uz > \umas mog macana u usta.a ja tvoju ljepu picu" 7.4's checking for valid UTF8 code seque

[ADMIN] Ancient messages regurgitated into pgsql-admin, again

2006-02-11 Thread Tom Lane
This is the second time in the past few days that lechlecha.jct.ac.il has injected a bunch of old messages into pgsql-admin. Can you arrange to blacklist that machine so it doesn't happen again? One example attached, but there were about two dozen this morning. regards, t

Re: [ADMIN] Statement duration reporting

2006-02-11 Thread Tom Lane
"Erik G. Burrows" <[EMAIL PROTECTED]> writes: > So, my question is: What does the duration time in the serverlog > reflect? Is it just the time the server took to execute the statement, > or does it reflect also query receive and response transmit time? The former. The server has no way to measur

Re: [ADMIN] Postgresql performance and tuning questions

2006-02-11 Thread lst_hoe01
Zitat von Scott Marlowe <[EMAIL PROTECTED]>: But you're not running the least buggy version of the 7.4 branch. The 7.4 branch is up to 7.4.9. If you are runing 7.4.2 then you haven't installed all the updates supplied by Suse for their distribution (or Suse backports bug fixes from 7.4.9 to 7.4

Re: [ADMIN] Writing to a flat file using procedures

2006-02-11 Thread Jim C. Nasby
On Sat, Feb 11, 2006 at 10:48:08AM +0530, Nalin Bakshi wrote: > Hi! > My project requires me to fetch some data from a a table and write it > into a flat file. How can I do this. Could you help? > regards, http://www.postgresql.org/docs/8.1/interactive/sql-copy.html See also \copy on http://w

Re: [ADMIN] Postgresql performance and tuning questions

2006-02-11 Thread Tom Lane
[EMAIL PROTECTED] writes: > Zitat von Scott Marlowe <[EMAIL PROTECTED]>: >> But you're not running the least buggy version of the 7.4 branch. The >> 7.4 branch is up to 7.4.9. If you are runing 7.4.2 then you haven't >> installed all the updates supplied by Suse for their distribution (or >> Suse

Re: [ADMIN] How to VACUUM this table? "998994633 estimated total rows"

2006-02-11 Thread Chris Browne
[EMAIL PROTECTED] (Aldor) writes: > I'm just curious about a VACUUM plan of this table: > > 1st) When to do VAUUM? > 2nd) How often to do VACUUM? > 3rd) With which postgresql.conf paremeters to set up vacuum? > 4th) When to do a VACUUM FULL? > 5th) Can autovacuum of 8.1 be used in this case? > > I'