[GENERAL] What is pg_toast_temp_* in my DB?

2011-01-04 Thread AI Rumman
What is pg_toast_temp_* in my DB?

Re: [GENERAL] What is pg_toast_temp_* in my DB?

2011-01-04 Thread André Fernandes
Date: Tue, 4 Jan 2011 15:53:30 +0600 Subject: [GENERAL] What is pg_toast_temp_* in my DB? From: rumman...@gmail.com To: pgsql-general@postgresql.org What is pg_toast_temp_* in my DB? Hello! pg_toast_temp_* are some special schemas where temporary tables are created. Having special schemas f

[GENERAL] Updated Latch Patch

2011-01-04 Thread Shoma S Achar
Hi, I would like to know where I could find the latest available Latch patch. If anyone knows, please share this information. Thanks in advance -- BRs Shoma

Re: [GENERAL] WAL Archiving Stopped

2011-01-04 Thread Norberto Delle
Em 3/1/2011 18:39, Filip Rembiałkowski escreveu: archiver process will retry later; it never stops trying, sleep time is just longer. 2011/1/3, Norberto Delle: Hi all I have a PostgreSQL 9.0.1 instance, with WAL Archiving. Today, after some failed tries to archive a WAL file, it stopped trying

Re: [GENERAL] Date Parameter To Query Confusing Optimizer

2011-01-04 Thread Kurt Westerfeld
"By the very definition of a prepared statement the query plan gets stored before the parameter values are known" Is this true for all databases? It would seem to me that this approach would always lead to the wrong query plan, especially in the case I am testing where the selectivity is very

Re: [GENERAL] Date Parameter To Query Confusing Optimizer

2011-01-04 Thread Radosław Smogura
Can You try "...BETWEEN ?::date and ?::date ..." syntax or send statement causing problems? Kind regards, Radosław Smogura On Tue, 04 Jan 2011 07:27:42 -0700, "Kurt Westerfeld" wrote: "By the very definition of a prepared statement the query plan gets stored before the parameter values are k

[GENERAL] Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread asti1987
I got a big problem: Warning: database 'postgres' must be vacuumed within 100 transactions HINT: To avoid database shutdown, execute a full database vacuum in 'postgres' Warning: database 'postgres' must be vacuumed within 99 transactions HINT: To avoid database shutdown, execute a full

Re: [GENERAL] What is pg_toast_temp_* in my DB?

2011-01-04 Thread Adrian Klaver
On Tuesday 04 January 2011 3:04:29 am André Fernandes wrote: > Date: Tue, 4 Jan 2011 15:53:30 +0600 > Subject: [GENERAL] What is pg_toast_temp_* in my DB? > From: rumman...@gmail.com > To: pgsql-general@postgresql.org > > What is pg_toast_temp_* in my DB? > > Hello! > > pg_toast_temp_* are some spe

Re: [GENERAL] Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread Adrian Klaver
On Tuesday 04 January 2011 4:06:48 am asti1987 wrote: > I got a big problem: > Warning: database 'postgres' must be vacuumed within 100 transactions > HINT: To avoid database shutdown, execute a full database vacuum in > 'postgres' > > Warning: database 'postgres' must be vacuumed within 9

Re: [GENERAL] Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread tv
> > I got a big problem: > Warning: database 'postgres' must be vacuumed within 100 transactions > HINT: To avoid database shutdown, execute a full database vacuum in > 'postgres' > > Warning: database 'postgres' must be vacuumed within 99 transactions > HINT: To avoid database shutdown, e

[GENERAL] Table Vacuum (to prevent wraparound)

2011-01-04 Thread Jeff Amiel
PostgreSQL 8.4.4 on x86_64-pc-solaris2.10, compiled by GCC gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath), 64-bit 2 large tables (around a billion rows each) recently received attention from autovacuum. They both currently show up in my currently running queries as "autovacuum: VACUUM table

Re: [GENERAL] Date Parameter To Query Confusing Optimizer

2011-01-04 Thread Kurt Westerfeld
First, sorry I didn't mention that I am using PostgreSQL 9, but the problem existed also on 8.4. As for the BETWEEN clause, I'm using hibernate and don't want to put a database-specific SQL query in place. I also decided to drop a few indexes, which were probably causing the optimizer to c

Re: [GENERAL] Date Parameter To Query Confusing Optimizer

2011-01-04 Thread Bill Moran
In response to "Kurt Westerfeld" : > >>> Radosław Smogura 1/4/2011 9:48 AM >>> > Can You try "...BETWEEN ?::date and ?::date ..." syntax or send > statement causing problems? > > As for the BETWEEN clause, I'm using hibernate and don't want to put a > database-specific SQL query in place. You

Re: [GENERAL] Table Vacuum (to prevent wraparound)

2011-01-04 Thread tv
> I will admit that the "Preventing Transaction ID Wraparound Failures" > chapter in the manual (and the subsequent autovacuum daemon chapter) make > my head spin. The basic idea is pretty simple, really. You have a limited amount of transaction IDs, so you arrange them into a circle, and you are

[GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
I has set config.pl to $config->{perl}; 1; and run build.bat, everything is ok, there is plpgsql.dll but don't found plperl.dll. I use strawberry perl 5.10 or must I use ActiveState Perl. Please help me. Thank in advance Tuan Hoang ANh

Re: [GENERAL] WAL Archiving Stopped

2011-01-04 Thread Filip Rembiałkowski
W dniu 4 stycznia 2011 14:55 użytkownik Norberto Delle napisał: > Em 3/1/2011 18:39, Filip Rembiałkowski escreveu: > > archiver process will retry later; it never stops trying, sleep time >> is just longer. >> >> 2011/1/3, Norberto Delle: >> >>> Hi all >>> >>> I have a PostgreSQL 9.0.1 instance,

[GENERAL] Re: Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread asti1987
8.1.23 Im typing ¨vacuum¨ since yesterday in the backend and stop the vacuuming each 30 minutes, and I try again typing vacuum, but im by the number 890271/100 and its too slow!, i dont know what else to do to make it faster. -- View this message in context: http://postgresql.1045698.n5.nabb

Re: [GENERAL] Re: Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread tv
> > 8.1.23 > Im typing ¨vacuum¨ since yesterday in the backend and stop the vacuuming > each 30 minutes, and I try again typing vacuum, but im by the number > 890271/100 and its too slow!, i dont know what else to do to make it > faster. Why are you stopping it each 30 minutes? And the fact th

[GENERAL] Re: Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread asti1987
im not stopping, it stops by it self, what parameters i must to change?, how i do that? -- View this message in context: http://postgresql.1045698.n5.nabble.com/Warning-database-postgres-must-be-vacuumed-within-100-transactions-tp3326896p3327508.html Sent from the PostgreSQL - general mailin

Re: [GENERAL] Re: Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread Miguel Angel Hernandez Moreno
effected a "vacuum" away from your "pgadmin" 2011/1/4 asti1987 > > im not stopping, it stops by it self, what parameters i must to change?, > how > i do that? > -- > View this message in context: > http://postgresql.1045698.n5.nabble.com/Warning-database-postgres-must-be-vacuumed-within-100-

Re: [GENERAL] HNY-2011

2011-01-04 Thread Nicklas Avén
I just want to say I apologize for over reacting yesterday As someone guessed I am not even religious so I shouldn't bother. The reason for my reaction though is that I really like those open source communities. People are working together collaborating to make things better for everyone. Then, to

Re: [GENERAL] Re: Warning: database postgres must be vacuumed within 1000000 transactions

2011-01-04 Thread Adrian Klaver
On 01/04/2011 09:01 AM, asti1987 wrote: 8.1.23 Im typing ¨vacuum¨ since yesterday in the backend and stop the vacuuming each 30 minutes, and I try again typing vacuum, but im by the number 890271/100 and its too slow!, i dont know what else to do to make it faster. Per the error message yo

[GENERAL] UUID column as pimrary key?

2011-01-04 Thread Dennis Gearon
I haven't been able to find anywhere, easily, in the documentation using google where a list of allowed data types for primary keys is. So, UUIDs can be primary keys? Any issues wtih them on sorting or paging of index tables, etc.? Also, the documentation says that UUIDs are 128 bit value, but n

Re: [GENERAL] UUID column as pimrary key?

2011-01-04 Thread Joshua D. Drake
On Tue, 2011-01-04 at 11:07 -0800, Dennis Gearon wrote: > I haven't been able to find anywhere, easily, in the documentation using > google > where a list of allowed data types for primary keys is. Anything that can be UNIQUE NOT NULL > > So, UUIDs can be primary keys? Yes. JD -- PostgreS

Re: [GENERAL] UUID column as pimrary key?

2011-01-04 Thread David Wall
We're using UUID for primary keys in PG 8.4 without any issues. I have no real insights into the details or performance issues, but always figured it was stored as a binary 128-bit value, but with added benefits of being able to enter and view them using a standard string format. We don't sor

[GENERAL] Como usar interval con un variable

2011-01-04 Thread liliana lazarte
Hola gente: Estoy haciendo un funcion que recibe como parametro fechainicial, fechafin, horainicial,horafin, y frecuencia. Esta funcion debe generar fechas que esten dentro del rango de fechas que paso como parametros, y por cada fecha, debe generar un rango de horas con minutos, pero segun la frec

Re: [GENERAL] Default to pager off

2011-01-04 Thread Dominik Żyła
Hello, Dnia Tue, Jan 04, 2011 at 03:05:03PM -0600, Michael Satterwhite napisał: > I'm not fond of the pager function. Is there a way to tell postgresql to > either default to '\pset pager off' or to have it startup with the pager > turned > off? >From `psql --help': -P VAR[=ARG]set print

Re: [GENERAL] Default to pager off

2011-01-04 Thread Tom Lane
Dominik =?utf-8?B?xbt5xYJh?= writes: > Dnia Tue, Jan 04, 2011 at 03:05:03PM -0600, Michael Satterwhite napisał: >> I'm not fond of the pager function. Is there a way to tell postgresql to >> either default to '\pset pager off' or to have it startup with the pager >> turned >> off? > From `psq

Re: [GENERAL] Como usar interval con un variable

2011-01-04 Thread Matthias Müller
Hola, hay una portal en espanol sobre postgres con listas de correo y IRC: http://www.postgresql-es.org/comunidad Aqui hablamos ingles. Sorry. saludos desde Alemana. Matthias Am Dienstag, 4. Januar 2011, um 21:26:33 schrieb liliana lazarte: > Hola gente: > Estoy haciendo un funcion que

Re: [GENERAL] UUID column as pimrary key?

2011-01-04 Thread Chris Browne
d.w...@computer.org (David Wall) writes: > We're using UUID for primary keys in PG 8.4 without any issues. I > have no real insights into the details or performance issues, but > always figured it was stored as a binary 128-bit value, but with added > benefits of being able to enter and view them

Re: [GENERAL] seg fault crashed the postmaster

2011-01-04 Thread Gordon Shannon
I'm putting this on this thread, since it could be related to the issue. I'm now seeing this in the log on the HSB/SR server. It's happened about 4 times in the past 2 days. 23964 2011-01-04 05:23:00 EST [47]LOG: invalid record length at 6E53/46E8A010 23535 2011-01-04 05:23:00 EST [2]FATAL

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread Alex Hunsaker
On Tue, Jan 4, 2011 at 10:12, tuanhoanganh wrote: > I has set config.pl to > $config->{perl}; > 1; I don't know anything about the windows build system, but shouldn't that be something like: $config->{perl} = 1; ? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make cha

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
Thanks for answer me but it have error Detected Visual Studio version 8.00 Detected hardware platform: Win32 Generating win32ver.rc for src\backend Building src\pl\plperl\SPI.c... '1' is not recognized as an internal or external command, operable program or batch file. Failed to create SPI.c. Ple

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread Alex Hunsaker
On Tue, Jan 4, 2011 at 19:27, tuanhoanganh wrote: > Thanks for answer me but it have error > > Detected Visual Studio version 8.00 > Detected hardware platform: Win32 > Generating win32ver.rc for src\backend > Building src\pl\plperl\SPI.c... > '1' is not recognized as an internal or external comma

[GENERAL] Disable Postgresql startup on boot (Windows XP)

2011-01-04 Thread Ken
Hi. Everytime I boot Windows XP a number of postgres.exe services start and run in the background. As I am only an occasional user of postgresql on my laptop I was wondering how (a) I could disable the auto-start of the service on boot and (b) how to manually start/stop postgresql when needed? Th

Re: [GENERAL] How to build plperl with PostgreSQL 9 on Windows

2011-01-04 Thread tuanhoanganh
Thanks you very much Here is my config.pl $config->{perl} = "c:\\perl"; 1; Strawberry Perl don't work because It don't have perl lib in c:\Perl\lib\CORE\. I swiched to ActivePerl to build plperl. Tuan Hoang ANh On Wed, Jan 5, 2011 at 9:52 AM, Alex Hunsaker wrote: > On Tue, Jan 4, 2011 at 19:27

Re: [GENERAL] Disable Postgresql startup on boot (Windows XP)

2011-01-04 Thread Stephen Cook
On 1/4/2011 10:25 PM, Ken wrote: Hi. Everytime I boot Windows XP a number of postgres.exe services start and run in the background. As I am only an occasional user of postgresql on my laptop I was wondering how (a) I could disable the auto-start of the service on boot and (b) how to manually st

Re: [GENERAL] Disable Postgresql startup on boot (Windows XP)

2011-01-04 Thread John R Pierce
On 01/04/11 7:25 PM, Ken wrote: Hi. Everytime I boot Windows XP a number of postgres.exe services start and run in the background. As I am only an occasional user of postgresql on my laptop I was wondering how (a) I could disable the auto-start of the service on boot and (b) how to manually sta