Re: [GENERAL] postgres 8.2.5 for Redhat linux

2009-11-09 Thread John R Pierce
weixiang tam wrote: Hi all, I am trying to look for the postgresql version 8.2.5 for Redhat Linux 5; however after looking through the link (*http://www.postgresql.org/ftp/binary/v8.2.5/linux/rpms/redhat/rhel-5/*), i am not able to locate the postgresql rpm release (i browsed most of the mir

[GENERAL] postgres 8.2.5 for Redhat linux

2009-11-09 Thread weixiang tam
Hi all, I am trying to look for the postgresql version 8.2.5 for Redhat Linux 5; however after looking through the link (* http://www.postgresql.org/ftp/binary/v8.2.5/linux/rpms/redhat/rhel-5/*), i am not able to locate the postgresql rpm release (i browsed most of the mirror site), is anyone know

Re: [GENERAL] Returning multiple rows in 8.4

2009-11-09 Thread Sam Mason
On Mon, Nov 09, 2009 at 11:23:52PM +, Raymond O'Donnell wrote: > On 09/11/2009 22:43, Raymond O'Donnell wrote: > > Finally, you can use OUT parameters to return multiple values from the > > function - this is handy if you need to return just a few values. > > Just to clarify further - this las

Re: [GENERAL] Editor for sgml files

2009-11-09 Thread David Fetter
On Mon, Nov 09, 2009 at 06:09:19PM -0800, Richard Broersma wrote: > Out of curiosity, what are the favorite editor for authoring the > PostgreSQL document sgml files? (I would be shocked if the whole > thing was developed from scratch using a simple text editor.) You might be, but that's approxi

Re: [GENERAL] pg_dump native format will not restore correctly

2009-11-09 Thread Scot Kreienkamp
-Original Message- From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Sam Mason Sent: Thursday, November 05, 2009 10:50 AM To: pgsql-general@postgresql.org Subject: Re: [GENERAL] pg_dump native format will not restore correctly On Thu, Nov 0

[GENERAL] Returning multiple rows in 8.4

2009-11-09 Thread Baris Gerze
I have users table such as create table users( user_id bigserial, user_name varchar(50), user_surname varchar(100) ); how can I write a function to return multiple rows? ( in plpgsql ) what is the return value of the function? records? and how can i run it without running as selec

Re: [GENERAL] Editor for sgml files

2009-11-09 Thread Greg Smith
On Mon, 9 Nov 2009, Richard Broersma wrote: Out of curiosity, what are the favorite editor for authoring the PostgreSQL document sgml files? http://developer.postgresql.org/pgdocs/postgres/docguide-authoring.html -- * Greg Smith gsm...@gregsmith.com http://www.gregsmith.com Baltimore, MD --

Re: [GENERAL] Incremental Backups in postgres

2009-11-09 Thread Jing Tan
I wrote an article about PITR , incremental backups and multiple timelines. check out. http://jinxter555.blogspot.com/ it should be an easy read. akp geek ha escrito: Dear all - Is there way to create incremental backups in postgres. I am currently using 8.4.1 on solaris. I

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Tom Lane
Tim Uckun writes: > I am sad to report that this does not work with ubuntu 9.04 postgres > 8.3 installed from the packages. I have removed everything from > pg_hba.conf except for the one line what says > localallall ident map=pg_map That's an 8.4 synta

Re: [GENERAL] Incremental Backups in postgres

2009-11-09 Thread Richard Broersma
On Mon, Nov 9, 2009 at 6:48 PM, akp geek wrote: >   Is there way to create incremental backups in postgres. I > am currently using 8.4.1 on solaris. I am new to postgres. Can you please > share your thoughts I've read more about continuous back-ups: http://www.postgresql.org/docs

Re: [GENERAL] Incremental Backups in postgres

2009-11-09 Thread Ben Chobot
Saving off the transaction log WAL files is a good way to do this. Read this part of the manual: http://www.postgresql.org/docs/8.4/interactive/continuous-archiving.html ...and see if that answers your questions. On Nov 9, 2009, at 6:48 PM, akp geek wrote: Dear all - Is t

[GENERAL] Incremental Backups in postgres

2009-11-09 Thread akp geek
Dear all - Is there way to create incremental backups in postgres. I am currently using 8.4.1 on solaris. I am new to postgres. Can you please share your thoughts Regards

Re: [GENERAL] Database Startup Failure: FATAL: could not read block 6 of relation 16390/16391/5153282: Success

2009-11-09 Thread Tom Lane
Michael Harris writes: > Postgres is 8.2.3. 8.2.something-recent might have coped with this better; I notice a couple of WAL replay bug fixes in the later release notes. You should encourage an update ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-g

Re: [GENERAL] Database Startup Failure: FATAL: could not read block 6 of relation 16390/16391/5153282: Success

2009-11-09 Thread Michael Harris
Hi Tom, Postgres is 8.2.3. The owners of this database have now decided to rebuild it from scratch so please don't spend much more time on answering this. Although, I'd like to know how to proceed in cases like this in case it ever happens again. Regards // Mike -Original Message- Fro

Re: [GENERAL] Newbie cannot create tablespace

2009-11-09 Thread Scott Marlowe
On Mon, Nov 9, 2009 at 3:12 PM, Richard Sickler wrote: > Hi List, > > I'm trying to create a tablespace using the following command copied > from pg_dumpall, > > CREATE TABLESPACE test OWNER postgres LOCATION 'd:/prodb'; > > I receive the following message > > ERROR:  directory "d:/proddb" is not

[GENERAL] Editor for sgml files

2009-11-09 Thread Richard Broersma
Out of curiosity, what are the favorite editor for authoring the PostgreSQL document sgml files? (I would be shocked if the whole thing was developed from scratch using a simple text editor.) -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.post

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Tim Uckun
> I just tried with 8.4.1. Started with the default configuration, created > data/pg_ident.conf with: > pg_map root postgres > pg_map postgres postgres > > Replaced in pg_hba.conf: > <   local   all         all                               trust > by >>   local   all         all                  

Re: [GENERAL] Database Startup Failure: FATAL: could not read block 6 of relation 16390/16391/5153282: Success

2009-11-09 Thread Tom Lane
Michael Harris writes: > I have been asked to help recover a database that seems to have been > corrupted after a power failure. What PG version is this exactly? > Also what does it mean by "Success" in the FATAL message? It's probably a read-past-EOF case. regards, to

[GENERAL] Database Startup Failure: FATAL: could not read block 6 of relation 16390/16391/5153282: Success

2009-11-09 Thread Michael Harris
Hi, I have been asked to help recover a database that seems to have been corrupted after a power failure. This is what we see when psql tries to start up: [2009-11-10 10:39:17 EST] LOG: checkpoint record is at 41E/BF2D5DC0 [2009-11-10 10:39:17 EST] LOG: redo record is at 41E/BF008F28; undo re

Re: [GENERAL] Tsearch2 with Japanese

2009-11-09 Thread Gordon Callan
Ah, I finally found it http://pgfoundry.org/projects/textsearch-ja/ - Original Message - From: "Gordon Callan" To: pgsql-general@postgresql.org Sent: Monday, November 9, 2009 2:36:18 PM GMT -08:00 US/Canada Pacific Subject: [GENERAL] Tsearch2 with Japanese Does anyone know wh

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Adrian Klaver
- "Daniel Verite" wrote: > Tim Uckun wrote: > > > > I am very confused about something though. Not one person here has > > said anything about how pg_ident works or what I did wrong. Is > > pg_ident deprecated? Is there no way to accomplish this with > pg_ident? > > I just tried with 8.4

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Daniel Verite
Tim Uckun wrote: > I am very confused about something though. Not one person here has > said anything about how pg_ident works or what I did wrong. Is > pg_ident deprecated? Is there no way to accomplish this with pg_ident? I just tried with 8.4.1. Started with the default configuration

Re: [GENERAL] Returning multiple rows in 8.4

2009-11-09 Thread Raymond O'Donnell
On 09/11/2009 22:43, Raymond O'Donnell wrote: > On 19:59, wrote: >> how can I write a function to return multiple rows? ( in plpgsql ) > > Yep, it's all in the docs: > > http://www.postgresql.org/docs/8.4/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING [snip] > Finally, you

Re: [GENERAL] What to install to be able to build docs on Arch Linux?

2009-11-09 Thread Alvaro Herrera
hubert depesz lubaczewski wrote: > => pacman -Ql docbook-sgml > docbook-sgml /usr/ > docbook-sgml /usr/share/ > docbook-sgml /usr/share/sgml/ > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/ > docbook-sgml /usr/share/sgml/docbook-sgml-4.2/calstblx.dtd > docbook-sgml /usr/share/sgml/docbook-sgml-4.

Re: [GENERAL] Returning multiple rows in 8.4

2009-11-09 Thread Raymond O'Donnell
On 19:59, wrote: > how can I write a function to return multiple rows? ( in plpgsql ) Yep, it's all in the docs: http://www.postgresql.org/docs/8.4/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING > what is the return value of the function? records? Depends on how you declar

[GENERAL] Tsearch2 with Japanese

2009-11-09 Thread Gordon Callan
Does anyone know where I can locate a Japanese parser and dictionary to use with Tsearch2? There was a link (http://www.oss.ecl.ntt.co.jp/tsearch2j/ ) to a Contrib at one time but this link is now dead :-( Any leads would be appreciated.

[GENERAL] Newbie cannot create tablespace

2009-11-09 Thread Richard Sickler
Hi List, I'm trying to create a tablespace using the following command copied from pg_dumpall, CREATE TABLESPACE test OWNER postgres LOCATION 'd:/prodb'; I receive the following message ERROR: directory "d:/proddb" is not empty a \db yields List of tablespaces Name| Owner |

[GENERAL] [Fwd: Returning multiple rows in 8.4]

2009-11-09 Thread Baris Gerze
--- Begin Message --- I have users table such as create table users( user_id bigserial, user_name varchar(50), user_surname varchar(100) ); how can I write a function to return multiple rows? ( in plpgsql ) what is the return value of the function? records? and how can i run it w

Re: [GENERAL] What to install to be able to build docs on Arch Linux?

2009-11-09 Thread hubert depesz lubaczewski
On Mon, Nov 09, 2009 at 11:44:31PM +0200, Peter Eisentraut wrote: > On mån, 2009-11-09 at 20:16 +0100, hubert depesz lubaczewski wrote: > > my docbook related packages: > > => pacman -Q | grep -i docbook > > docbook-xml 4.5-3 > > docbook-xsl 1.74.0-1 > > docbook2x 0.8.8-7 > You need the SGML versio

Re: [GENERAL] Which locale to use for multiple-language support?

2009-11-09 Thread Peter Eisentraut
On mån, 2009-11-09 at 10:57 +, David Edwards wrote: > If we have users from all over the world storing data in our database > with all sorts of languages, which locale should we use to ensure > these string functions behave as they expect? Try en_US.utf8. It is pretty language neutral. --

Re: [GENERAL] What to install to be able to build docs on Arch Linux?

2009-11-09 Thread Peter Eisentraut
On mån, 2009-11-09 at 20:16 +0100, hubert depesz lubaczewski wrote: > my docbook related packages: > => pacman -Q | grep -i docbook > docbook-xml 4.5-3 > docbook-xsl 1.74.0-1 > docbook2x 0.8.8-7 You need the SGML version of DocBook. -- Sent via pgsql-general mailing list (pgsql-general@postgres

Re: [GENERAL] check for primary key

2009-11-09 Thread Thom Brown
2009/11/9 Tom Brown : > Hey guys! > > I would like to know how to query for the existence of a primary key on > a table. All of the tables have the column 'id' in them. That should be > the primary key. However, the primary key constraint got "lost" somehow. > Probably due to stupidity on my part.

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Tim Uckun
> > authenication type is controlled via the pg_hba.conf file. > > frankly, I've never used the pg_ident file, it just seems like it would add > more confusion to things.   But, it appears to use it you need a > map=/mapname/ primitive in your pg_hba.conf > That's why I attempted to do. I read th

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Tim Uckun
> But afterwards, inside the script, you could use su to temporarily switch to > a less priviledged user: > > ... commands running as root > su postgres -c 'psql '  # running as postgres > ... running as root again OK I will try this. I am very confused about something though. Not one person

[GENERAL] check for primary key

2009-11-09 Thread Tom Brown
Hey guys! I would like to know how to query for the existence of a primary key on a table. All of the tables have the column 'id' in them. That should be the primary key. However, the primary key constraint got "lost" somehow. Probably due to stupidity on my part. I just want to add back the prim

[GENERAL] What to install to be able to build docs on Arch Linux?

2009-11-09 Thread hubert depesz lubaczewski
Hi, I just recently migrated my workstation to Arch Linux, and now I have problem with building docs for PostgreSQL on it. I'm using cvs HEAD version, and when running ./configure I get: ./configure \ --prefix=/home/pgdba/work \ --with-pgport=5850 \ --with-tcl \ --

Re: [GENERAL] virtualidx exclusive lock

2009-11-09 Thread Guy Rouillier
Uwe Schroeder wrote: On Sunday 08 November 2009 11:38:28 pm Uwe Schroeder wrote: (why it uses a transaction for a simple select is the other thing). Every database interaction happens within a transaction. -- Guy Rouillier -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org)

Re: [GENERAL] virtualidx exclusive lock

2009-11-09 Thread Uwe Schroeder
On Sunday 08 November 2009 11:38:28 pm Uwe Schroeder wrote: > I've googled, but there's 0 hits. > > I have an issue with a ton of "idle in transaction" backends. > What I noticed is when I look at pg_locks, pretty much all of the processes > being idle in transaction have an exclusive lock of lock

Re: [GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread Magnus Hagander
On Mon, Nov 9, 2009 at 09:47, Anders Moe wrote: > > Hi all > We're trying to get our 64 bt windows application to use postgresql, which > means I have to #include stuff from psql and link to 64 bit versions of the > libs. Which do not seem to exist. > Spesifically I need to get Qt compiled with ps

Re: [GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread John R Pierce
Sam Mason wrote: Why does Postgres need to be 64bit, couldn't you go through the windows ODBC layer if you want 64 bit client support? Also, isn't PostGIS just server side and hence you shouldn't have to worry about it client side? ODBC would be a bad choice for a postgres specific program

Re: [GENERAL] virtualidx exclusive lock

2009-11-09 Thread John R Pierce
Uwe Schroeder wrote: I've googled, but there's 0 hits. I have an issue with a ton of "idle in transaction" backends. What I noticed is when I look at pg_locks, pretty much all of the processes being idle in transaction have an exclusive lock of locktype "virtualidx "Idle in Transaction" o

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread John R Pierce
Tim Uckun wrote: either create a postgres user named 'root' and give it superuser privileges, In order to do that I need to connect to the database with my script which is running under the root account. if you are root, use su -c "psql -f /path/to/script.sql" postgres or

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Laurenz, I have juste finished to build PostgreSQL 8.3.8 with OBJECT_MODE set to 32 and I have exactly the same error as the beginning : # export OBJECT_MODE=32 # cd /home/PostgreSQL_8.3.8/sources/postgresql-8.3.8 # ./configure => OK # gmake 2>&1 | tee gmake_PGS_8.3.8_v4.log In file included

Re: [GENERAL] Execute a query passed by parameters to a function

2009-11-09 Thread Yadira Lizama Mue
Thanks, it works.. The problem is that .. I create dynamically the query and verified a few things inside the function before execute it. Regards, Yadira - Mensaje original - De: "Thom Brown" Para: "Yadira Lizama Mue" CC: pgsql-general@postgresql.org Enviados: Lunes, 9 de Noviembr

Re: [GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Chris Barnes
That gives me an idea what others are doing. Thank you Mark, : ) > Date: Mon, 9 Nov 2009 09:24:28 -0500 > From: postg...@lambic.co.uk > To: compuguruchrisbar...@hotmail.com > CC: pgsql-general@postgresql.org > Subject: Re: [GENERAL] Looking for a script that performs full online backup > of

Re: [GENERAL] Execute a query passed by parameters to a function

2009-11-09 Thread Thom Brown
2009/11/9 Yadira Lizama Mue : > > Hi, > I have a function which receive a parameters as text. This text is a query. I > want to execute this query, but I don't know how. Can any one help me? > Regards, > Yadira > > > CREATE OR REPLACE FUNCTION myfunction(text) >  RETURNS void AS > $BODY$ > --I wan

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Hi Laurenz, hi Daniel, I have always run "gmake distclean" before relaunching a build. Maybe the32-bit build failed because I have not set and exported the "OBJECT_MODE" environment variable. I will try to build PostgreSQL once again with "export OBJECT_MODE=32". I continued to test a 64-bit

[GENERAL] Execute a query passed by parameters to a function

2009-11-09 Thread Yadira Lizama Mue
Hi, I have a function which receive a parameters as text. This text is a query. I want to execute this query, but I don't know how. Can any one help me? Regards, Yadira CREATE OR REPLACE FUNCTION myfunction(text) RETURNS void AS $BODY$ --I want execute the text I pass by parameters as a

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Adrian Klaver
On Sunday 08 November 2009 10:48:49 pm Tim Uckun wrote: > > then say you're postgres in the script with the -U (if you're using psql) > > > > AS ROOT: > > psql -U postgres -h remote_db dbname > > > > Note that ident doesn't work so well between machines, so you might > > want to look at .pgpass > >

Re: [GENERAL] Getting iPhone Simulator App to compile with libpq on Snow Leopard

2009-11-09 Thread Bob Henkel
Thanks Jan that was the issue. The SDK that my app was using for the simulator build was was 10.5 while the my compile of libpq was using 10.6. Once I forced libpq to compile with 10.5 all my problems went away. Thanks for your help I appreciate it. On Mon, Nov 9, 2009 at 8:40 AM, Jan Otto wrote

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Albe Laurenz
Alexandra Roy wrote: > It was a 32-bit build as I didn't have set the "OBJECT_MODE" to 64. > I call configure and make using as root user: > > # ./configure > # gmake > > The releases of "make" and "gcc" are : > make-3.80-1 > gcc-4.2.0-3 Hmmm, I dont get the error if I set OBJECT_MODE to

Re: [GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Jukka Inkeri
> have a shell script that performs a full online backup of postgres? Full backup ex. pg_dumpall Daily backup (dump) / database: - - - - - - - - - - - - - - - #!/someshellpath like /bin/sh or /bin/bash or /bin/ksh ... #daily.sh #default plaintext #usage: daily.sh [c|t|p] # PORT=5432 HOST="loca

Re: [GENERAL] Getting iPhone Simulator App to compile with libpq on Snow Leopard

2009-11-09 Thread Jan Otto
hi bob, Undefined symbols: "_fopen$UNIX2003", referenced from: _parseServiceInfo in libpq.i386(fe-connect.o) _PasswordFromFile in libpq.i386(fe-connect.o) ld: symbol(s) not found collect2: ld returned 1 exit status Any help would be greatly appreciated. hm, fopen is a standard c (libS

Re: [GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Mark Styles
On Mon, Nov 09, 2009 at 09:15:03AM -0500, Chris Barnes wrote: > Would anyone in the postgres community have a shell script that > performs a full online backup of postgres? Here's roughly what we do: REMOTE="foo" DATA="/srv/pgdata" WAL="/var/lib/pgsql/wal-archive" PSQL="/usr/bin/psql" RSYNC="/us

Re: [GENERAL] Search system catalog for mystery type

2009-11-09 Thread Carlo Stonebanks
There are renamed tables with one leading underscore sitting on the system right now. I don't know how many mechanisms there are for renaming, as this renaming (until now) was done from a "rename" function within pgAdmin or EMS PG-SQL Manager - this is the first time I can think of having explic

Re: [GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Sam Mason
On Mon, Nov 09, 2009 at 09:15:03AM -0500, Chris Barnes wrote: > Would anyone in the postgres community have a shell script that > performs a full online backup of postgres? Have you tried pg_dumpall? -- Sam http://samason.me.uk/ -- Sent via pgsql-general mailing list (pgsql-general@postgres

[GENERAL] Looking for a script that performs full online backup of postgres in archive mode

2009-11-09 Thread Chris Barnes
Would anyone in the postgres community have a shell script that performs a full online backup of postgres? Any help would be appreciated. _ Windows Live: Keep

Re: [GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread Sam Mason
On Mon, Nov 09, 2009 at 01:47:55PM +0100, Anders Moe wrote: > As far > as ODBC is concerned I'm just working from the assumption that a native link > is generally preferable. You'll get a bit more control, but most of the time that's not needed. > If anyone tells me that the psql ODBC link has th

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Hi Laurenz, It was a 32-bit build as I didn't have set the "OBJECT_MODE" to 64. I call configure and make using as root user: # ./configure # gmake The releases of "make" and "gcc" are : make-3.80-1 gcc-4.2.0-3 Please find below the result of that you ask me: 1. # grep -i large confi

Re: [GENERAL] alter table is taking a long time

2009-11-09 Thread Johan Nel
Hi Sam, Typo in my haste on initial mail. attlen should actually be atttypmod. > > update pg_attribute set attlen = 4 + > > where attname = 'yourcolumnname' update pg_attribute set ATTTYPMOD = 4 + where attname = 'yourcolumnname' and > It will also update *every* column with that name.  Some

Re: [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Albe Laurenz
> I am trying to compile PostgreSQL 8.3.8 on AIX 5.3 TL9 (64 bits). > The ".configure" has been executed with success without any > error but the compilation of PostgreSQL with "gmake" fails. > > Please find below the errors I get : > > > In file included from psqlscan.c:2385: > /

Re: [GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread Anders Moe
It's true that PostGIS is server side, so that's not really an issue. As far as ODBC is concerned I'm just working from the assumption that a native link is generally preferable. If anyone tells me that the psql ODBC link has the same features/performance that's fine with me.? :) Anders On Mo

Re: [GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread Sam Mason
On Mon, Nov 09, 2009 at 09:47:48AM +0100, Anders Moe wrote: > We're trying to get our 64 bt windows application to use postgresql, which > means I have to #include stuff from psql and link to 64 bit versions of the > libs. Which do not seem to exist. > > Spesifically I need to get Qt compiled with

Re: [GENERAL] Donwload location for PostgreSQL version 8.2.7

2009-11-09 Thread Sam Mason
On Mon, Nov 09, 2009 at 05:43:30PM +0530, Anand wrote: > As i need to update the PostgreSQL version 8.2.6 with higher versions. > But in release notes its mentioned that upgrading the PostgreSQL version > 8.2.6 is as follows: > PostgreSQL version 8.2.6-->8.2.7-->8.2.11-->8.2.14 AFAIK that's just a

Re: [GENERAL] Donwload location for PostgreSQL version 8.2.7

2009-11-09 Thread Anand
Hi, As i need to update the PostgreSQL version 8.2.6 with higher versions. But in release notes its mentioned that upgrading the PostgreSQL version 8.2.6 is as follows: PostgreSQL version 8.2.6-->8.2.7-->8.2.11-->8.2.14 or can i directly upgrade the PostgreSQL version 8.2.6 with PostgreSQL versi

Re: [GENERAL] Donwload location for PostgreSQL version 8.2.7

2009-11-09 Thread Sam Jas
Try the following link. May be help u. ftp://ftp-archives.postgresql.org/pub/source/v8.2.7/ -- Thanks Sam Jas --- On Mon, 9/11/09, Anand <1008an...@gmail.com> wrote: From: Anand <1008an...@gmail.com> Subject: [GENERAL] Donwload location for PostgreSQL version 8.2.7 To: pgsql-general@postg

Re: [GENERAL] virtualidx exclusive lock

2009-11-09 Thread Greg Stark
On Mon, Nov 9, 2009 at 7:38 AM, Uwe Schroeder wrote: > What I noticed is when I look at pg_locks, pretty much all of the processes > being idle in transaction have an exclusive lock of locktype "virtualidx". It's "virtualxid" as in "virtual transaction id" and hopefully more than pretty much all

Re: [GENERAL] Donwload location for PostgreSQL version 8.2.7

2009-11-09 Thread Arjen Nienhuis
On Mon, Nov 9, 2009 at 12:22 PM, Anand <1008an...@gmail.com> wrote: > > Hi, > > I tried to download the PostgreSQL version 8.2.7 from the following > location. > http://www.postgresql.org/ftp/binary/v8.2.7/linux/rpms/redhat/rhel-5-i386/ > > But i am not able to download any files. Every link is sho

[GENERAL] Which locale to use for multiple-language support?

2009-11-09 Thread David Edwards
Hi, Some of postgresql's string functions behave differently depending on the locale the cluster was created with. With the locales 'C' or 'en_US.utf8', lower() does not lowercase non-ascii characters such as Ü (umlaut-u). If we have users from all over the world storing data in our database with

[GENERAL] Donwload location for PostgreSQL version 8.2.7

2009-11-09 Thread Anand
Hi, I tried to download the PostgreSQL version 8.2.7 from the following location. http://www.postgresql.org/ftp/binary/v8.2.7/linux/rpms/redhat/rhel-5-i386/ But i am not able to download any files. Every link is showing the "File Not Found". Please provide a link to download PostgreSQL version 8.

[GENERAL] Which locale to use for multiple-language support?

2009-11-09 Thread David Edwards
Hi, Some of postgresql's string functions behave differently depending on the locale the cluster was created with. With the locales 'C' or 'en_US.utf8', lower() does not lowercase non-ascii characters such as Ü (umlaut-u). If we have users from all over the world storing data in our database with

Re: [GENERAL] virtualidx exclusive lock

2009-11-09 Thread Alban Hertroys
On 9 Nov 2009, at 8:38, Uwe Schroeder wrote: I've googled, but there's 0 hits. That's because you were looking for the wrong keyword, it doesn't read "virtualidx" ;) There is no info about table or anything, all the records look like: locktype| database | relation | page | tuple |

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Daniel Verite
Tim Uckun wrote: > This script is a part of the initial setup script for the server. It > has to run as root because when it starts running postgres is not > installed and there is no postgres user. But afterwards, inside the script, you could use su to temporarily switch to a less privil

[GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-09 Thread Alexandra Roy
Hi all, I am trying to compile PostgreSQL 8.3.8 on AIX 5.3 TL9 (64 bits). The ".configure" has been executed with success without any error but the compilation of PostgreSQL with "gmake" fails. Please find below the errors I get : In file included from psqlscan.c:2385: /usr/include/unistd

[GENERAL] Not possible to create 64 bit windows clients ?

2009-11-09 Thread Anders Moe
Hi all We're trying to get our 64 bt windows application to use postgresql, which means I have to #include stuff from psql and link to 64 bit versions of the libs. Which do not seem to exist. Spesifically I need to get Qt compiled with psql (and eventually postGIS). Can anyone give me an update

Re: [GENERAL] pgp encryption functions

2009-11-09 Thread Marko Kreen
On 11/7/09, Christian Petzold wrote: > I'm trying to use the pgp_pub_encrypt and pgp_pub_decrypt_bytea functions > to store some data in my db. > > This is how I encrypt: > > INSERT INTO "Test"( >"test") >VALUES (pgp_pub_encrypt('test', dearmor('-BEGIN PGP PUBLIC KEY > BLOCK

Re: [GENERAL] I can't seem to put the right combination of magic into the pg_hba and pg_ident files.

2009-11-09 Thread Tim Uckun
> > > either create a postgres user named 'root' and give it superuser privileges, In order to do that I need to connect to the database with my script which is running under the root account. > or switch to a different method of authentication for LOCAL users I am confused. I presumed the prop