[GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread image
Hello, On the same station, i have 2 postgresql server: one for my postgis db (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed i'm obliged to stop service for my postgresql postgis (9.1) in order to use openerp7 (postgres9.2). I 'm surprised about that. There is there a

Re: [GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread Raymond O'Donnell
On 28/05/2013 10:57, image wrote: > Hello, > > On the same station, i have 2 postgresql server: one for my postgis db > (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed > i'm obliged to stop service for my postgresql postgis (9.1) in order to use > openerp7 (postgres9.2

Re: [GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread Szymon Guz
On 28 May 2013 11:57, image wrote: > Hello, > > On the same station, i have 2 postgresql server: one for my postgis db > (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i > noticed > i'm obliged to stop service for my postgresql postgis (9.1) in order to use > openerp7 (postgre

[GENERAL] What are ExecSeqMarkPos and ExecSeqRestrPos used for

2013-05-28 Thread DT
Hi, I'm reading code of nodeSeqscan, and was confused with ExecSeqMarkPos and ExecSeqRestrPos. They are only called by ExecMergeJoin. Could merge join use a plain seqscan as outer/inner plan? If not, what are they used for? Thanks.

Re: [GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread Andreas Kretschmer
Raymond O'Donnell wrote: > On 28/05/2013 10:57, image wrote: > > Hello, > > > > On the same station, i have 2 postgresql server: one for my postgis db > > (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed > > i'm obliged to stop service for my postgresql postgis (9.1)

Re: [GENERAL] Success stories of PostgreSQL implementations in different companies

2013-05-28 Thread Michael Paquier
On Tue, May 28, 2013 at 12:25 AM, wrote: > Thank you Wolfgang, just one question, what "bio" means? In the part that > says "69 bio EUR..." > In this case, billions. -- Michael

Re: [GENERAL] How to check if Postgresql files are OK

2013-05-28 Thread Stephen Frost
* Amit Langote (amitlangot...@gmail.com) wrote: > How does one validate a backup? Is there any generally practiced way > of doing that? Or what do you mean when you say "tested" backups? You restore from it and then query the restored database for expected contents, at least. Thanks,

Re: [GENERAL] search_path for database vs user vs session

2013-05-28 Thread Moshe Jacobson
On Tue, May 28, 2013 at 2:41 AM, Jov wrote: > you can use the psql \drds command: Perfect! Just what I was looking for. Thanks Jov, and thanks to Joe Conway as well for a different solution. Moshe -- Moshe Jacobson Nead Werx, Inc. | Manager of Systems Engineering 2323 Cumberland Parkway, Su

Re: [GENERAL] What are ExecSeqMarkPos and ExecSeqRestrPos used for

2013-05-28 Thread Stephen Frost
* DT (kurt...@hotmail.com) wrote: > I'm reading code of nodeSeqscan, and was confused with ExecSeqMarkPos and > ExecSeqRestrPos. They are only called by ExecMergeJoin. Could merge join use > a plain seqscan as outer/inner plan? If not, what are they used for? ExecSeqMarkPos and ExecSeqRestPos ar

[GENERAL] Restore a pgsql base from openERP v5(ubuntu) to v7(windows7)

2013-05-28 Thread image
Hello, Up to now, we're working with openERP v.5. The server has installed on our ubuntu server station. I succeed in sauvegarding database (v8.3 of pgsql) via pg_dump. I would like now restore this database into my new OPENerp server station (windows7). I succeed in doing it thanks to psql but

Re: [GENERAL] Restore a pgsql base from openERP v5(ubuntu) to v7(windows7)

2013-05-28 Thread Adrian Klaver
On 05/28/2013 07:34 AM, image wrote: Hello, Up to now, we're working with openERP v.5. The server has installed on our ubuntu server station. I succeed in sauvegarding database (v8.3 of pgsql) via pg_dump. I would like now restore this database into my new OPENerp server station (windows7). I s

[GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread image
Hello, On the same station, i have 2 postgresql server: one for my postgis db (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed i'm obliged to stop service for my postgresql postgis (9.1) in order to use openerp7 (postgres9.2). I 'm surprised about that. There is there a

Re: [GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread John R Pierce
On 5/28/2013 3:02 AM, Raymond O'Donnell wrote: On 28/05/2013 10:57, image wrote: >Hello, > >On the same station, i have 2 postgresql server: one for my postgis db >(v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed >i'm obliged to stop service for my postgresql postgis

Re: [GENERAL] 2 postgresql server on the same station : conflict?

2013-05-28 Thread Ben Chobot
On May 28, 2013, at 2:54 AM, image wrote: > Hello, > > On the same station, i have 2 postgresql server: one for my postgis db > (v9.1) and so another installed with opener^7 (9.2). Unfortunalty, i noticed > i'm obliged to stop service for my postgresql postgis (9.1) in order to use > openerp7 (po

[GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Moshe Jacobson
Dear PostgreSQL gurus, It seems that the comparison operator "=" is functioning as the assignment operator ":=" in this plpgsql trigger script I wrote. I was under the impression that "=" is only for comparison and not assignment. If this is true, please explain the transcript below. If it's not t

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Stephen Frost
* Moshe Jacobson (mo...@neadwerx.com) wrote: > It seems that the comparison operator "=" is functioning as the assignment > operator ":=" in this plpgsql trigger script I wrote. I was under the > impression that "=" is only for comparison and not assignment. If this is > true, please explain the tr

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Pavel Stehule
2013/5/28 Stephen Frost : > * Moshe Jacobson (mo...@neadwerx.com) wrote: >> It seems that the comparison operator "=" is functioning as the assignment >> operator ":=" in this plpgsql trigger script I wrote. I was under the >> impression that "=" is only for comparison and not assignment. If this i

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Moshe Jacobson
On Tue, May 28, 2013 at 4:06 PM, Stephen Frost wrote: > Both are supported. It's not really documented as using '=' is > considered 'legacy' but it's also extensively used and removing it would > break quite a bit of code for people. > This is crazy! By leaving it in, they are allowing my obsol

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Stephen Frost
* Moshe Jacobson (mo...@neadwerx.com) wrote: > Any PG committers who can change this in 9.3? It will certainly not be changed for 9.3. As suggested, perhaps in 10.0, but I tend to doubt it. It will certainly be mentioned in the release notes when it happens. Thanks, Ste

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Steve Crawford
On 05/28/2013 01:06 PM, Stephen Frost wrote: * Moshe Jacobson (mo...@neadwerx.com) wrote: It seems that the comparison operator "=" is functioning as the assignment operator ":=" in this plpgsql trigger script I wrote. I was under the impression that "=" is only for comparison and not assignment

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Pavel Stehule
Hello 2013/5/28 Moshe Jacobson : > On Tue, May 28, 2013 at 4:06 PM, Stephen Frost wrote: >> >> Both are supported. It's not really documented as using '=' is >> considered 'legacy' but it's also extensively used and removing it would >> break quite a bit of code for people. > > > This is crazy!

Re: [GENERAL] Strange behavior of "=" as assignment operator

2013-05-28 Thread Pavel Stehule
2013/5/28 Steve Crawford : > On 05/28/2013 01:06 PM, Stephen Frost wrote: >> >> * Moshe Jacobson (mo...@neadwerx.com) wrote: >>> >>> It seems that the comparison operator "=" is functioning as the >>> assignment >>> operator ":=" in this plpgsql trigger script I wrote. I was under the >>> impressio

[GENERAL] BLOB updates -> database size explodes

2013-05-28 Thread Dimitar Misev
I'm having some issue with BLOB updates (via ECPG). The total blobs size should be ~280MB, but after partially updating all of them for 150 times the size on disk grows up from 184MB to 18GB. In more details: There are 608 blobs of size 460800 bytes. All blobs are updated piecewise in 150 rep