Hello there,
Can anyone tell me the differences between postgresql 8.1 and postgresql 8.3.3
Thanks
Waiting for your reply
PostgreSQL: The world's most advanced open source database Discussion.
Hello there,
Can anyone tell me the differences between postgresql 8.1 and postgresql 8.3.3
Thanks
Waiting for your reply
hello...
you can restric acces from all the databases in your cluster. When you use pgadmin3 this show all the databases but if you dont have access to the databases you cant see the struct of this.
check waht user use pgadmin3 for connect to databases
create groups and add privileges to the group later add the users to the group
Couldn't the planner itself make a good guess if it should
keep trying based on the estimated cost?
if (the_best_plan_I_found_so_far_looks_like_itll_take_an_hour)
keep_optimizing_for_a_few_minutes
if (the_best_plan_I_found_so_far_looks_like_itll_take_0.01ms)
stop_planning_and_run_with_it
Or maybe as simple as something like
if (time_spent_planning >= cost_of_the_best_plan_found / 10)
stop_optimizing.
If we wanted a GUC, perhaps make it that 10 in the expression above?
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Date: 2008-06-26 22:16:31 +0100 (Thu, 26 Jun 2008)
New Revision: 7386
Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=7386&view=rev
Log:
Update website chinese simplified translation, per Quan Zongliang.
Modified:
trunk/www/locale/zh_CN/LC_MESSAGES/pgadmin3_website.mo
trunk/www/locale/zh_CN/LC_MESSAGES/pgadmin3_website.po
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
> I thought we only backatched major bugs to prevent possible instability
> when fixing minor bugs.
Actually, Bruce, this *is* a minor bug; if it were major we'd have heard
about it from the field.
My take on it is that "pg_ctl restart" must be practically unused.
Given that we now know it's completely broken, the only way that
patching it could make the situation worse would be if the patch
affected some other code path that people actually do use. As
long as you're sure it doesn't do that, I see no downside to an
attempted fix, even if it fails.
regards, tom lane
--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
But doesn't the failure indicate a potential problem that the regression
tests are pointing out?
--
Bruce Momjian <bruce@momjian.us>
EnterpriseDB
+ If your life is a hard drive, Christ can be your backup. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Just to add one more slightly different philosophy.
For servers I manage, I run the most conservative
and slow changing distros that only update security
releases (Debian Stable, RHEL are good choices; no
doubt Solaris would be too; Ubuntu updates too
frequently for my tastes). For the components less
core to our business (ssh, munin, etc) we trust the
distro provider to provide security updates and to do
the very minimum of other changes that might have
compatibility issues.
For the components that are more core to our
business, though, we get the source from the projects
themselves (like postgresql.org) and compile from
source. This gives us the advantages of being
totally in control of when updates occur, and of
having developers be able to attach debuggers if
need be.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Oh, you've got debug_print_parse turned on. I'm not especially excited
about trying to make the regression tests pass under random nondefault
settings --- we could expend large amounts of effort that way, to very
little purpose.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Huh? You should get started on it ... it will just take longer than you
thought.
--
--Josh
Josh Berkus
PostgreSQL @ Sun
San Francisco
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
See Turkish --- in that locale i and I are not an upper/lower pair,
instead they pair with some non-ASCII letters. There are likely
other cases but that's the counterexample I remember.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Because Postgres currently lacks the ability to push down predicates
to individual nodes over a database link, you have to spend a good
amount of time writing PL set-returning functions capable of adding
appropriate WHERE clauses to queries sent over the link. There are
other things you can do, but it's mostly hackery at this point in
time. IIRC, David Fetter is trying to get some of the required
predicate information exposed for use in DBI-Link.
Not to self-plug, but if you require it, EnterpriseDB includes
Oracle-style database links (SELECT col FROM table@node) which support
predicate push-down.
--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 26-Jun-08, at 3:12 PM, Jeff McKenna wrote:
> Hi Hiroshi. What exact file am I to place your test in? win32.h on
> line#290 ?
>
>
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
>
> On 26-Jun-08, at 12:42 PM, Hiroshi Saito wrote:
>
>> Hi.
>>
>> Um, Please try this.
>>
>> #include<windows.h>
>> extern void __cdecl _dosmaperr( unsigned long oserrno );
>> int main(int argc, char *argv[])
>> {
>> _dosmaperr(GetLastError());
>> return(0);
>> }
>>
>> Can errorless compile be performed?
>> Regards,
>> Hiroshi Saito
>>
>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna@gatewaygeomatics.com
>> >
>> To: "pgsql-hackers" <pgsql-hackers@postgresql.org>
>> Sent: Thursday, June 26, 2008 10:04 PM
>> Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
>>
>>
>>> Thanks Hiroshi. Unfortunately libpq.dll does not compile with
>>> MSVC 2003. Has anyone successfully compiled libpq for 8.3.3 (or
>>> CVS head) with MSVC 2003??
>>> ---
>>> Jeff McKenna
>>> FOSS4G Consulting and Training Services
>>> http://www.gatewaygeomatics.com/
>>> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>>>> Hi.
>>>>
>>>> It is strange...
>>>> Problem is not reproduced although I use VC2005.
>>>>
>>>> The result of my nmake -f win32.mak is this. ...
>>>> Microsoft (R) Manifest Tool version 5.2.3790.2014
>>>> Copyright (c) Microsoft Corporation 2005.
>>>> All rights reserved.
>>>> cd ..\..
>>>> echo All Win32 parts have been built!
>>>> All Win32 parts have been built!
>>>>
>>>> C:\MinGW\home\HIROSHI\postgresql-8.3.3\src>
>>>>
>>>> It may be necessary to investigate the reference relation of
>>>> VC2003.
>>>> Does someone notice some?
>>>> Regards,
>>>> Hiroshi Saito
>>>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna@gatewaygeomatics.com
>>>> >
>>>>
>>>>
>>>>> Hello,
>>>>> I am trying to compile libpq.dll with MSVC 2003 on windows,
>>>>> using postgresql-8.3.3, but I get the following compile error:
>>>>> Creating library .\Release\libpqdll.lib and object .\Release
>>>>> \libpqdll.exp
>>>>> libpq.lib(dirmod.obj) : error LNK2019: unresolved external
>>>>> symbol __dosmaperr r
>>>>> ferenced in function _pgwin32_safestat
>>>>> libpq.lib(dirent.obj) : error LNK2001: unresolved external
>>>>> symbol __dosmaperr
>>>>> .\Release\libpq.dll : fatal error LNK1120: 1 unresolved externals
>>>>> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
>>>>> Stop.
>>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
>>>>> Studio .NET 2003
>>>>> VC7\BIN\nmake.exe"' : return code '0x2'
>>>>> Stop.
>>>>> Does anyone have any ideas how to solve this??
>>>>> thanks.
>>>>> -jeff
>>>>> ---
>>>>> Jeff McKenna
>>>>> FOSS4G Consulting and Training Services
>>>>> http://www.gatewaygeomatics.com/
>>>>> --
>>>>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>>>>> To make changes to your subscription:
>>>>> http://www.postgresql.org/mailpref/pgsql-hackers
>>>>
>>>> --
>>>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>>>> To make changes to your subscription:
>>>> http://www.postgresql.org/mailpref/pgsql-hackers
>>> --
>>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-hackers
>>
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Anyone have any experiences to share per setting up a federated
architecture with PostgreSQL ? I wonder if the dblink contrib works
well in a federated scenario, specifically in the setup of the
federated views which equate to a select * from the same table on each
federated server ?
Thanks in advance...
/Kevin
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
Vadim
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
> "Also sprach Merlin Moncure:"
>> The linux software raid algorithms are highly optimized, and run on a
>
> I can confidently tell you that that's balderdash both as a Linux author
> and as a software RAID linux author (check the attributions in the
> kernel source, or look up something like "Raiding the Noosphere" on
> google).
>
>> presumably (much faster) cpu than what the controller supports.
>> However, there is still some extra oomph you can get out of letting
>> the raid controller do what the software raid can't...namely delay
>> sync for a time.
>
> There are several design problems left in software raid in the linux kernel.
> One of them is the need for extra memory to dispatch requests with and
> as (i.e. buffer heads and buffers, both). bhs should be OK since the
> small cache per device won't be exceeded while the raid driver itself
> serialises requests, which is essentially the case (it does not do any
> buffering, queuing, whatever .. and tries hard to avoid doing so). The
> need for extra buffers for the data is a problem. On different
> platforms different aspects of that problem are important (would you
> believe that on ARM mere copying takes so much cpu time that one wants
> to avoid it at all costs, whereas on intel it's a forgettable trivium).
>
> I also wouldn't aboslutely swear that request ordering is maintained
> under ordinary circumstances.
which flavor of linux raid are you talking about (the two main families I
am aware of are the md and dm ones)
David Lang
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
At 02:20 AM 6/25/2008, pgsql-sql-owner@postgresql.org wrote:
Date: Tue, 24 Jun 2008 17:33:11 +0300
From: "Pascal Tufenkji" <ptufenkji@usj.edu.lb>
To: <pgsql-sql@postgresql.org>
Subject: ANSI Standard
Message-ID: <000601c8d607$3acda550$150fa8c0@interne.usj.edu.lb>
Hi,
How do I know if a function (or a certain sql syntax) in Postgres is a SQL
ANSI Standard, hence it works on all databases such as MySQL, SQL Server,
Oracle.
In general, I find that the Pg docs pretty clear state what is ANSI standard and what isn't within Pg. You can also view the ANSI-92 standard here:
http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
In terms of making sure you're cross platform compatible, I'd say you have to designate a series of platforms (e.g. MySQL 5, Pg 8.3, Oracle X, MS SQL X, ext) which you will test against and explicitly support. You will find that no matter how tightly you attempt to build your platform against ANSI-92 (or any other std) if you do not regularly test against a set of platforms, your solution will converge on supporting only the platforms you do regular test against.
I hope that helps,
Steve
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
> When is it due, July 1? If so, yes, it should be. I could use a close
> review by someone who knows this shit a whole lot better than I do.
Well, that's what the commitfest is for. Go ahead and add yourself once you
post the new patch.
--
Josh Berkus
PostgreSQL @ Sun
San Francisco
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
use this explain analyze select * from result where active = 't'; --- On Thu, 6/26/08, Phillip Mills <pmills@systemcore.ca> wrote: From: Phillip Mills <pmills@systemcore.ca> |
Hola comunidad
Como me doy de baja de la lista amigos???
Gracias por toda la ayuda este tiempo
saludos
Atte.
----------------------------------------------------
Johnny Verdugo V.
Productor / Desarrollador Informático
Vortex Webzine / Dmy Medios
Celular: (56)-(9)- 84130666
Msn: jverdugo@vortex.cl
Skype: johnny_vortex
Google Talk: Jverdugo
www.vortex.cl
www.dmy.cl
Only if those resources are drawn from the same pool. You are
oversimplifying a calculation that has many variables such as cost.
CPUs for example are introducing more cache levels (l1, l2, l3), etc.
Also, the different levels of cache have different capabilities.
Only the hardware controller cache is (optionally) allowed to delay
acknowledgment of a sync. In postgresql terms, we get roughly the
same effect with the computers entire working memory with fsync
disabled...so that we are trusting, rightly or wrongly, that all
writes will eventually make it to disk. In this case, the raid
controller cache is redundant and marginally useful.
> the receiving component device also needs resources in order to service
> the request, such as when the transport is network tcp (and I have my
> suspicions about scsi too).
>
>> the overhead of various cache layers is
>> completely minute compared to a full fault to disk that requires a
>> seek which is several orders of magnitude slower.
>
> That's aboslutely true when by "overhead" you mean "computation cycles"
> and absolutely false when by overhead you mean "memory resources", as I
> do. Double buffering is a killer.
Double buffering is most certainly _not_ a killer (or at least, _the_
killer) in practical terms. Most database systems that do any amount
of writing (that is, interesting databases) are bound by the ability
to randomly read and write to the storage medium, and only that.
This is why raid controllers come with a relatively small amount of
cache...there are diminishing returns from reorganizing writes. This
is also why up and coming storage technologies (like flash) are so
interesting. Disk drives have made only marginal improvements in
speed since the early 80's.
>> The linux software raid algorithms are highly optimized, and run on a
>
> I can confidently tell you that that's balderdash both as a Linux author
I'm just saying here that there is little/no cpu overhead for using
software raid on modern hardware.
> believe that on ARM mere copying takes so much cpu time that one wants
> to avoid it at all costs, whereas on intel it's a forgettable trivium).
This is a database list. The main area of interest is in dealing with
server class hardware.
merlin
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
La idea es que si tienes los valores de x = {1,12,30,102,340,323} y
buscas con x0 = 104 te entregue el registro con x = 102.
> > Pero me tinca que podría estar calculando la función abs para todos los
> > registros de la tabla, lo que no aprovecharía el índice B-Tree en la
> > columna x.
>
> creas un indice funcional
> create index idx1 on tabla (abs(x));
No sabía que existían los índices funcionales, pero de todos modos la
solución que me dio Alvaro Herrera es lo que quería.
Saludos
--
Daniel Hernández
http://www.scio.cl
--
TIP 7: no olvides aumentar la configuración del "free space map"
> This is version 8.2.6. Is there something I'm missing that could make these
> queries ever produce different results?
As usual the counter example is when there a NULL where the two
expressions arn't equal. That this doesn't affect the result of the
query is I suppose a deficiency of the expression comparitor...
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
> Will this be ready for the July CommitFest?
When is it due, July 1? If so, yes, it should be. I could use a close
review by someone who knows this shit a whole lot better than I do.
Thanks,
David
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Gracias, pensé que necesitaba algo especial, esa solución es simple.
Saludos
--
Daniel Hernández
http://www.scio.cl
--
TIP 2: puedes desuscribirte de todas las listas simultáneamente
(envía "unregister TuDirecciónDeCorreo" a majordomo@postgresql.org)
I need to specify servers and storage to run PostgreSQL. Does anyone
know any source of information (articles, presentations, books, etc.)
which describes methods of hardware sizing for running a large
PostgreSLQ installation?
Thank you in advance.
Sergio.
--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
I thought we only backatched major bugs to prevent possible instability
when fixing minor bugs.
--
Bruce Momjian <bruce@momjian.us>
EnterpriseDB
+ If your life is a hard drive, Christ can be your backup. +
--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
> > Why do we need someone to complain? We know the bug is there. Has the
> > code changed a lot in that area?
>
> Do we have the policy of backpatching every fix? I thought it was only
> the major bugs we fixed in back branches. If someone wants to backpatch
> it, feel free to do so.
I think the policy is "we fix the bugs in supported releases". If you
start making exceptions, it becomes needlessly complex.
I've always assumed that I'm supposed to backpatch the bugs I fix in
HEAD, however far is reasonable.
--
Alvaro Herrera
http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
In general, I find that the Pg docs pretty clear state what is ANSI
standard and what isn't within Pg. You can also view the ANSI-92
standard here:
http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
In terms of making sure you're cross platform compatible, I'd say you
have to designate a series of platforms (e.g. MySQL 5, Pg 8.3, Oracle
X, MS SQL X, ext) which you will test against and explicitly support.
You will find that no matter how tightly you attempt to build your
platform against ANSI-92 (or any other std) if you do not regularly
test against a set of platforms, your solution will converge on
supporting only the platforms you do regular test against.
I hope that helps,
Steve
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
>
http://archives.postgresql.org/pgsql-hackers/2008-04/msg01890.php
Modified Files:
--------------
pgsql/doc:
TODO (r1.2475 -> r1.2476)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/TODO?r1=1.2475&r2=1.2476)
pgsql/doc/src/FAQ:
TODO.html (r1.981 -> r1.982)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/FAQ/TODO.html?r1=1.981&r2=1.982)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
On 26-Jun-08, at 12:42 PM, Hiroshi Saito wrote:
> Hi.
>
> Um, Please try this.
>
> #include<windows.h>
> extern void __cdecl _dosmaperr( unsigned long oserrno );
> int main(int argc, char *argv[])
> {
> _dosmaperr(GetLastError());
> return(0);
> }
>
> Can errorless compile be performed?
> Regards,
> Hiroshi Saito
>
> ----- Original Message ----- From: "Jeff McKenna" <jmckenna@gatewaygeomatics.com
> >
> To: "pgsql-hackers" <pgsql-hackers@postgresql.org>
> Sent: Thursday, June 26, 2008 10:04 PM
> Subject: Re: [HACKERS] MSVC 2003 compile error with pg8.3.3
>
>
>> Thanks Hiroshi. Unfortunately libpq.dll does not compile with
>> MSVC 2003. Has anyone successfully compiled libpq for 8.3.3 (or
>> CVS head) with MSVC 2003??
>> ---
>> Jeff McKenna
>> FOSS4G Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>> On 24-Jun-08, at 8:31 PM, Hiroshi Saito wrote:
>>> Hi.
>>>
>>> It is strange...
>>> Problem is not reproduced although I use VC2005.
>>>
>>> The result of my nmake -f win32.mak is this. ...
>>> Microsoft (R) Manifest Tool version 5.2.3790.2014
>>> Copyright (c) Microsoft Corporation 2005.
>>> All rights reserved.
>>> cd ..\..
>>> echo All Win32 parts have been built!
>>> All Win32 parts have been built!
>>>
>>> C:\MinGW\home\HIROSHI\postgresql-8.3.3\src>
>>>
>>> It may be necessary to investigate the reference relation of VC2003.
>>> Does someone notice some?
>>> Regards,
>>> Hiroshi Saito
>>> ----- Original Message ----- From: "Jeff McKenna" <jmckenna@gatewaygeomatics.com
>>> >
>>>
>>>
>>>> Hello,
>>>> I am trying to compile libpq.dll with MSVC 2003 on windows,
>>>> using postgresql-8.3.3, but I get the following compile error:
>>>> Creating library .\Release\libpqdll.lib and object .\Release
>>>> \libpqdll.exp
>>>> libpq.lib(dirmod.obj) : error LNK2019: unresolved external
>>>> symbol __dosmaperr r
>>>> ferenced in function _pgwin32_safestat
>>>> libpq.lib(dirent.obj) : error LNK2001: unresolved external
>>>> symbol __dosmaperr
>>>> .\Release\libpq.dll : fatal error LNK1120: 1 unresolved externals
>>>> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
>>>> Stop.
>>>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
>>>> Studio .NET 2003
>>>> VC7\BIN\nmake.exe"' : return code '0x2'
>>>> Stop.
>>>> Does anyone have any ideas how to solve this??
>>>> thanks.
>>>> -jeff
>>>> ---
>>>> Jeff McKenna
>>>> FOSS4G Consulting and Training Services
>>>> http://www.gatewaygeomatics.com/
>>>> --
>>>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>>>> To make changes to your subscription:
>>>> http://www.postgresql.org/mailpref/pgsql-hackers
>>>
>>> --
>>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-hackers
>> --
>> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-hackers
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
I think this patch will work for unpatched backends as well. I am still
uncertain if it should be backpatched.
--
Bruce Momjian <bruce@momjian.us>
EnterpriseDB
+ If your life is a hard drive, Christ can be your backup. +
> Thanks. I've just completely refactored things to look more like the
> approach taken by varlena.c, both in terms of when stuff gets freed
> and in terms of coding style. It's more verbose, but I feel much more
> comfortable with memory management now that I'm following a known
> implementation more closely. :-)
Will this be ready for the July CommitFest?
--
Josh Berkus
PostgreSQL @ Sun
San Francisco
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
OK, I started looking at what it would take to backpatch this and found
another bug I have fixed in CVS HEAD. What back branchs (8.0-8.3.X) are
doing is pretty odd. On non-Win32 systems, it is looking for the null
byte, then putting a null byte before it, and passing a NULL back as the
options and binary location. The test:
if (postgres_path != NULL)
postgres_path = optline;
is backwards, which means that if in 8.3.X you start the server with any
arguments, like:
/usr/var/local/postgres/bin/postgres -i -o -d5
and you use pg_ctl to specify the binary location:
pg_ctl -p /u/pg/bin/postmaster restart
the server actually fails to restart because it chops off the last byte
(a bug) and the test above is wrong (another bug), and it thinks the
binary name is the full string, in quotes:
/usr/var/local/postgres/bin/postgres -i -o -d
and you get this error from pg_ctl:
sh: /usr/var/local/postgres/bin/postgres -i -o -d: not found
This is more than just ignoring the documentation, it is a failure.
I am attaching a minimal patch that will fix the bug in back branches.
Keep in mind that a patched pg_ctl will not be able to restart a backend
that was not patched.
--
Bruce Momjian <bruce@momjian.us>
EnterpriseDB
+ If your life is a hard drive, Christ can be your backup. +
hello... you can restric acces from all the databases in your cluster. When you use pgadmin3 this show all the databases but if you dont have access to the databases you cant see the struct of this. check waht user use pgadmin3 for connect to databases create groups and add privileges to the group later add the users to the group --- On Thu, 6/26/08, Carol Walter <walterc@indiana.edu> wrote: From: Carol Walter <walterc@indiana.edu> |
> A 2nd question: Is it possible to have 2 standby servers with a single
> master duplicating to standby1 (at my coloc), and standby2 (at my office)?
> Assume no auto-failover.
Yes, that works too.
--
Simon Riggs
PostgreSQL Training, Services and Support
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
The reason for doing it this way is I'm interested in using stats
literally copied from other servers. So the pg_statistic tuples will be
available for us directly. I'm building a tool to allow people to export
their production environment to a test system, so that SQL developers
can experiment with query tuning and optimizer developers can recreate
problems.
> I think you need to move up a level, and perhaps refactor some of the
> existing code to make it easier to inject made-up stats.
Both sound like good ideas. I wasn't really after ultimate flexibility,
but perhaps I should be.
--
Simon Riggs
PostgreSQL Training, Services and Support
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
I envision it working like this:
The archive command pseudocode will be:
rsync <mywalfile> someone@abox
The standby slave servers will then continually rsync that directory while
in recovery mode.
Reading the docs, it looks as if this should work.
It's also my understanding that the archive command happens asynchronously,
so it shouldn't affect the overall performance of the primary. Regardless,
my proposed solution should handle such a scenario.
-----Original Message-----
From: Montaseri [mailto:montaseri@gmail.com]
Sent: Jun 26, 2008 1:21 PM
To: Scott Whitney
Cc: Simon Riggs; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Warm standby server
While I am not an expert on WAL, but again I question the merits of such
sophisticated HA configuration. Of course there are use cases for such
configs, but I am only advocating best price performance kind of mentality
As WAL writes the journals all the way down to the disk (ie write thru and
not write behind) before ack-ing toward the next step in a DB operation,
increasing the number of mirrors (one production, one on-site, one off-site,
I count 3 plexes here) will prolong each operation, with the following
exponentially increasing write latencies
production DB writes are at the rate of SCSI, SATA or system bus (30 MBps)
on-site DB writes are at the rate of LAN (10 MBps)
off-site DB writes are at the rate of WAN (200 KBps)
Then if a three-way WAL writes is considered completed after the last WAN
write, then you have effectively lowered your performance to 200 KBytes per
sec writes. Now the gain. If the building gets destroyed, my data is
protected. Ok. what kind of business are we running in that building? ....
what is the rate of writes to database vs probability of building coming
down vs value of data from 2 hours ago vs 10 seconds ago.
Thanks
Medi
On Thu, Jun 26, 2008 at 11:01 AM, Scott Whitney <swhitney@journyx.com>
wrote:
Fully agreed, and it's just a concept at the moment. After I have a
prototype standby working next week in the first place, we'll be
discussing
those very merits.
A 2nd question: Is it possible to have 2 standby servers with a
single
master duplicating to standby1 (at my coloc), and standby2 (at my
office)?
Assume no auto-failover.
-----Original Message-----
From: Montaseri [mailto:montaseri@gmail.com]
Sent: Jun 26, 2008 12:51 PM
To: Simon Riggs
Cc: Scott Whitney; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Warm standby server
I am not so sure of this arrangement's mertis
From HA (High Availability) point of view, the host/server is a
single point
of failure which will bring your entire infrastructure down if any
of the
server hardware components fail.
From Performance point of view, you have increased the load on your
server
by 3 folds as all instances would be using your I/O bandwidth to
write to
secondary storage
Given $300 to $400 price of headless servers these days, its much
economical
to split the workload on three boxes
Cheers
Medi
On Thu, Jun 26, 2008 at 9:06 AM, Simon Riggs <simon@2ndquadrant.com>
wrote:
On Thu, 2008-06-26 at 10:19 -0500, Scott Whitney wrote:
> I've got 3 different database servers (db01, db02 and
db03).
>
> I would like to have a WAL standby server that replays logs
for
all 3 in
> case one goes down, so I can promote that particular
server.
>
> Can I do this by installing 3 separate postmasters on this
machine?
> Obviously, if 2 went down at the same time, I'd have to do
some
magic to
> bring up another machine, but I'm not sure that's a
concern.
Yes, that will work.
--
Simon Riggs
PostgreSQL Training, Services and Support
--
Sent via pgsql-admin mailing list
(pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Modified Files:
--------------
pgsql/src/bin/pg_ctl:
pg_ctl.c (r1.102 -> r1.103)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c?r1=1.102&r2=1.103)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Cheers,
Steve
--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
Fully agreed, and it's just a concept at the moment. After I have a
prototype standby working next week in the first place, we'll be discussing
those very merits.
A 2nd question: Is it possible to have 2 standby servers with a single
master duplicating to standby1 (at my coloc), and standby2 (at my office)?
Assume no auto-failover.
-----Original Message-----
From: Montaseri [mailto:montaseri@gmail.com]
Sent: Jun 26, 2008 12:51 PM
To: Simon Riggs
Cc: Scott Whitney; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Warm standby server
I am not so sure of this arrangement's mertis
From HA (High Availability) point of view, the host/server is a single point
of failure which will bring your entire infrastructure down if any of the
server hardware components fail.
From Performance point of view, you have increased the load on your server
by 3 folds as all instances would be using your I/O bandwidth to write to
secondary storage
Given $300 to $400 price of headless servers these days, its much economical
to split the workload on three boxes
Cheers
Medi
On Thu, Jun 26, 2008 at 9:06 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
On Thu, 2008-06-26 at 10:19 -0500, Scott Whitney wrote:
> I've got 3 different database servers (db01, db02 and db03).
>
> I would like to have a WAL standby server that replays logs for
all 3 in
> case one goes down, so I can promote that particular server.
>
> Can I do this by installing 3 separate postmasters on this
machine?
> Obviously, if 2 went down at the same time, I'd have to do some
magic to
> bring up another machine, but I'm not sure that's a concern.
Yes, that will work.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
b> t == tgl@sss.pgh.pa.us writes:
b> t> "Brandon Metcalf" <bmetcalf@nortel.com> writes:
b> t> > I just upgraded to 8.3.3 and taking advantage of the RETURNING clause
b> t> > which is really cool. I've found that with Pg.pm $r->resultStatus
b> t> > returns the integer "2" when the RETURNING clause is used on an
b> t> > insert.
b> t> > Of course, without using RETURNING the status is the constant
b> t> > PGRES_COMMAND_OK.
b> t> Sounds to me like a bug in Pg.pm --- it's probably not expecting
b> t> a result to come back from an INSERT. You oughta nag its author
b> t> about that.
b> I'll look through the Pg.pm code and see what I can find.
My mistake. The constant that gets returned is PGRES_TUPLES_OK which
is what I would expect. This corresponds to 2.
--
Brandon
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Well, I'm convinced the egg came first.
So I figure to put the framework in place and then start reviewing
things to see if they can be categorised. Plus I want new optimizer
features to be considered in the light of the new framework. This also
allows us a way of handling optimizer performance bugs. We just
reclassify certain cases as being costs-more solutions, rather than
stripping the code out entirely.
--
Simon Riggs
PostgreSQL Training, Services and Support
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
A 2nd question: Is it possible to have 2 standby servers with a single
master duplicating to standby1 (at my coloc), and standby2 (at my office)?
Assume no auto-failover.
-----Original Message-----
From: Montaseri [mailto:montaseri@gmail.com]
Sent: Jun 26, 2008 12:51 PM
To: Simon Riggs
Cc: Scott Whitney; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Warm standby server
I am not so sure of this arrangement's mertis
From HA (High Availability) point of view, the host/server is a single point
of failure which will bring your entire infrastructure down if any of the
server hardware components fail.
From Performance point of view, you have increased the load on your server
by 3 folds as all instances would be using your I/O bandwidth to write to
secondary storage
Given $300 to $400 price of headless servers these days, its much economical
to split the workload on three boxes
Cheers
Medi
On Thu, Jun 26, 2008 at 9:06 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
On Thu, 2008-06-26 at 10:19 -0500, Scott Whitney wrote:
> I've got 3 different database servers (db01, db02 and db03).
>
> I would like to have a WAL standby server that replays logs for
all 3 in
> case one goes down, so I can promote that particular server.
>
> Can I do this by installing 3 separate postmasters on this
machine?
> Obviously, if 2 went down at the same time, I'd have to do some
magic to
> bring up another machine, but I'm not sure that's a concern.
Yes, that will work.
--
Simon Riggs
PostgreSQL Training, Services and Support
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Right - but sooner or later that may get expanded to the full path
internally anyway. Do you have a file or directory called C:\Program?
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Yes, that will work.
On Thu, 2008-06-26 at 10:19 -0500, Scott Whitney wrote:
> I've got 3 different database servers (db01, db02 and db03).
>
> I would like to have a WAL standby server that replays logs for all 3 in
> case one goes down, so I can promote that particular server.
>
> Can I do this by installing 3 separate postmasters on this machine?
> Obviously, if 2 went down at the same time, I'd have to do some magic to
> bring up another machine, but I'm not sure that's a concern.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
I came across your question:
http://archives.postgresql.org/pgsql-jdbc/2008-04/msg00093.php
It may be similar to:
http://www.netbeans.org/issues/show_bug.cgi?id=134745
http://forum.java.sun.com/thread.jspa?messageID=10309943&tstart=0
If so, please post your details in bug report. If not, please disregard.
-Tres
--
- Tres.Finocchiaro@gmail.com
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Me respondo yo solito:
http://www.postgresql.org/docs/8.3/interactive/plperl-trusted.html
Atentamente,
RAUL DUQUE
Bogotá, Colombia
>Atentamente,
>
>RAUL DUQUE
>Bogotá, Colombia
__________ Information from ESET Smart Security, version of virus signature
database 3222 (20080626) __________
The message was checked by ESET Smart Security.
--
TIP 2: puedes desuscribirte de todas las listas simultáneamente
(envía "unregister TuDirecciónDeCorreo" a majordomo@postgresql.org)