Re: [HACKERS] Disable and enable of table and column constraints

2009-09-08 Thread Peter Eisentraut
On Tue, 2009-09-08 at 16:07 -0400, Alvaro Herrera wrote: > Tom Lane wrote: > > Michael Gould writes: > > > It would be nice if we could enable and disable column and table > > > constraints. I believe that you can do this in Oracle but this is very > > > handy for testing stored procedures and ot

Re: [HACKERS] pgbench hard coded constants

2009-09-08 Thread Tatsuo Ishii
> pgbench has #defines for number of branches, tellers, and accounts. There > are used to populate the tables with -i, but when running actual benchmark > it has values separately hard-coded in the query metacommands. This patch > makes the metacommands obtain their values from the relevant #defi

Re: [HACKERS] ecpg build failed on CVS HEAD

2009-09-08 Thread Tatsuo Ishii
> > In my understanding src/interfaces/ecpg/preproc/parser.c linkes to > > src/backend/parser/parser.c. So they are identical, no? > > They haven't been identical since 8.2. It seems my working files for ecpg are confused. Removing symlink and cvs update fixed my problem. Thanks. -- Tatsuo Ishii

Re: [HACKERS] CTE bug?

2009-09-08 Thread Tom Lane
I wrote: > David Fetter writes: >> WITH RECURSIVE t(j) AS ( >> WITH RECURSIVE s(i) AS ( >> VALUES (1) >> UNION ALL >> SELECT i+1 FROM s WHERE i < 10 >> ) SELECT i AS j FROM s >> UNION ALL >> SELECT j+1 FROM t WHERE j < 10 >> ) >> SELECT * FROM t; >> ERROR: relation

Re: [HACKERS] ecpg build failed on CVS HEAD

2009-09-08 Thread Tom Lane
Tatsuo Ishii writes: > In my understanding src/interfaces/ecpg/preproc/parser.c linkes to > src/backend/parser/parser.c. So they are identical, no? They haven't been identical since 8.2. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.

Re: [HACKERS] ecpg build failed on CVS HEAD

2009-09-08 Thread Tatsuo Ishii
> No, it doesn't ... but maybe you've somehow overwritten > src/interfaces/ecpg/preproc/parser.c with src/backend/parser/parser.c ? In my understanding src/interfaces/ecpg/preproc/parser.c linkes to src/backend/parser/parser.c. So they are identical, no? -- Tatsuo Ishii SRA OSS, Inc. Japan -- Se

Re: [HACKERS] ecpg build failed on CVS HEAD

2009-09-08 Thread Tom Lane
Tatsuo Ishii writes: > Has anybody seen this? It seems ecpg tries to link with backend functions. No, it doesn't ... but maybe you've somehow overwritten src/interfaces/ecpg/preproc/parser.c with src/backend/parser/parser.c ? regards, tom lane -- Sent via pgsql-hackers

Re: [HACKERS] Triggers on columns

2009-09-08 Thread James Pye
On Sep 8, 2009, at 5:33 PM, Itagaki Takahiro wrote: WHEN clause in other times [1][2][3]. (All of them use "WHEN" for the syntax; that's why I proposed "WHEN" but not "WHERE".) Well, looks like WHEN is, or is going to be standard: ::= [ FOREACH { ROW | STATEMENT } ] [ WHEN ] (page 653

[HACKERS] ecpg build failed on CVS HEAD

2009-09-08 Thread Tatsuo Ishii
Hi, Has anybody seen this? It seems ecpg tries to link with backend functions. gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -DECPG_COMPILE -L../../../../src/port -Wl,-rpath,'/usr/local/src/pgsql/current/lib' preproc.o type.o ecpg.o output.o parser.o

Re: [HACKERS] LATERAL

2009-09-08 Thread Robert Haas
On Tue, Sep 8, 2009 at 6:29 PM, Andrew Gierth wrote: >> "David" == David Fetter writes: > >  >> I've attempted to search the archives for references to the SQL >  >> LATERAL feature, which AIUI is fairly-frequently requested. >  >> [snip] >  >> Has anyone poked at this at all? > >  David> I be

Re: [HACKERS] Triggers on columns

2009-09-08 Thread Itagaki Takahiro
"Kevin Grittner" wrote: > How much does that buy you versus including this at the start of > trigger_func: One of the benefits is that it could handle tuple modifications by another trigger, that is discussed here: http://archives.postgresql.org/pgsql-hackers/2009-09/msg00161.php | 2. Reche

Re: [HACKERS] CREATE LIKE INCLUDING COMMENTS and STORAGES

2009-09-08 Thread Itagaki Takahiro
Alvaro Herrera wrote: > This INCLUDING STORAGE is supposed to copy reloptions? No. It copies only storage parameters of columns to control TOAST policy. It might be good to have some features to copy reloptions with convenient way, but it will be done in another patch. > to me it sounds like i

Re: [HACKERS] Any interest in buildfarm a member using Apple's llvm-gcc-4.2 or clang?

2009-09-08 Thread Robert Creager
On Sep 8, 2009, at 4:18 PM, Tom Lane wrote: Robert Creager writes: I'll set up one or two more 'machines' if there is interest (Snow Leopard) LLVM, perhaps, though are you sure that llvm and gcc aren't the same thing under the hood on SL? I thought I'd read somewhere that Apple had turned

Re: [HACKERS] LATERAL

2009-09-08 Thread Andrew Gierth
> "David" == David Fetter writes: >> I've attempted to search the archives for references to the SQL >> LATERAL feature, which AIUI is fairly-frequently requested. >> [snip] >> Has anyone poked at this at all? David> I believe Andrew (RhodiumToad) Gierth is taking a look at David> impl

Re: [HACKERS] Any interest in buildfarm a member using Apple's llvm-gcc-4.2 or clang?

2009-09-08 Thread Tom Lane
Robert Creager writes: > I'll set up one or two more 'machines' if there is interest (Snow > Leopard) LLVM, perhaps, though are you sure that llvm and gcc aren't the same thing under the hood on SL? I thought I'd read somewhere that Apple had turned gcc into a wrapper around the llvm code gen

Re: [HACKERS] Any interest in buildfarm a member using Apple's llvm-gcc-4.2 or clang?

2009-09-08 Thread David Fetter
On Tue, Sep 08, 2009 at 03:29:29PM -0600, Robert Creager wrote: > > I'll set up one or two more 'machines' if there is interest (Snow > Leopard) The more, the merrier :) Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfet

Re: [HACKERS] manually setting the command tag (was Re: 8.4: suppress_redundant_updates trigger vs. "Upsert" logic)

2009-09-08 Thread decibel
On Sep 7, 2009, at 6:10 PM, Tom Lane wrote: Alvaro Herrera writes: Pavel Stehule escribió: Isn't better to solve the the correct diagnostics for INSTEAD rules or triggers? As far as I can tell it's not possible to do better without letting the user put their hands on the tag. And how i

Re: [HACKERS] CTE bug?

2009-09-08 Thread Tom Lane
David Fetter writes: > WITH RECURSIVE t(j) AS ( > WITH RECURSIVE s(i) AS ( > VALUES (1) > UNION ALL > SELECT i+1 FROM s WHERE i < 10 > ) SELECT i AS j FROM s > UNION ALL > SELECT j+1 FROM t WHERE j < 10 > ) > SELECT * FROM t; > ERROR: relation "s" does not exist >

[HACKERS] Any interest in buildfarm a member using Apple's llvm-gcc-4.2 or clang?

2009-09-08 Thread Robert Creager
I'll set up one or two more 'machines' if there is interest (Snow Leopard) % /Developer/usr/bin/llvm-gcc-4.2 --version i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2118) llvm-gcc-4.2 currently fails during check for the known directory probl

Re: [HACKERS] Triggers on columns

2009-09-08 Thread Robert Haas
On Mon, Sep 7, 2009 at 6:53 AM, Itagaki Takahiro wrote: > > Peter Eisentraut wrote: > >> Therefore, it cannot be completely unexpected if column triggers are >> called even if the column was not actually changed in a semantically >> significant way. > > Ok, the attached patch implements standard-c

Re: [HACKERS] Triggers on columns

2009-09-08 Thread James Pye
On Sep 8, 2009, at 7:38 AM, Kevin Grittner wrote: David Fetter wrote: CREATE TRIGGER trig BEFORE UPDATE ON tbl FOR EACH ROW WHEN (NEW.col IS DISTINCT FROM OLD.col) EXECUTE PROCEDURE trigger_func(); How much does that buy you versus including this at the start of trigger_func: On

[HACKERS] CTE bug?

2009-09-08 Thread David Fetter
Folks, I tried the following and it broke: WITH RECURSIVE t(j) AS ( WITH RECURSIVE s(i) AS ( VALUES (1) UNION ALL SELECT i+1 FROM s WHERE i < 10 ) SELECT i AS j FROM s UNION ALL SELECT j+1 FROM t WHERE j < 10 ) SELECT * FROM t; ERROR: relation "s" does not exist L

Re: [HACKERS] Disable and enable of table and column constraints

2009-09-08 Thread Alvaro Herrera
Tom Lane wrote: > Michael Gould writes: > > It would be nice if we could enable and disable column and table > > constraints. I believe that you can do this in Oracle but this is very > > handy for testing stored procedures and other external processes. > > Drop the constraint and re-add it late

Re: [HACKERS] Disable and enable of table and column constraints

2009-09-08 Thread Tom Lane
Michael Gould writes: > It would be nice if we could enable and disable column and table > constraints. I believe that you can do this in Oracle but this is very > handy for testing stored procedures and other external processes. Drop the constraint and re-add it later...

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Robert Haas
On Tue, Sep 8, 2009 at 2:06 PM, Ron Mayer wrote: > Andrew Dunstan wrote: >> In any case, I don't accept this analogy. The mechanics of a Linux >> distribution are very different from the mechanics of a project like >> PostgreSQL. The prominent OSS project that seems to me most like ours is >> the A

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
Ups, my previous patch was already applied in HEAD. This patch removes the sed-patch and added the check and set of ARCHFLAGS. This seems to be assuming a lot more about the behavior of Apple's Perl hacks than I think we should. The patch as committed is good, because having any -arch flag

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Tom Lane
Jan Otto writes: > Ups, my previous patch was already applied in HEAD. This patch removes > the sed-patch and added the check and set of ARCHFLAGS. This seems to be assuming a lot more about the behavior of Apple's Perl hacks than I think we should. The patch as committed is good, because havi

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Ron Mayer
Josh Berkus wrote: > I can't find information about HTTPD release planning so I'll take your > word for it. On the other hand, I have to point out that Apache is > releasing HTTPD major versions an average of once every 3 years. I > don't think we want to go to 3 years, do we? I'd say it depends

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
Ups, my previous patch was already applied in HEAD. This patch removes the sed-patch and added the check and set of ARCHFLAGS. diff -c -r1.655 configure *** configure 8 Sep 2009 18:15:55 - 1.655 --- configure 8 Sep 2009 18:30:04 - *** *** 6941,6949 { $as_ec

[HACKERS] COALESCE and NULLIF semantics

2009-09-08 Thread Kevin Grittner
Given the desire to defer pinning the type of a literal, for better support of user defined types, I think the current semantics of all the conditional expressions: http://www.postgresql.org/docs/8.4/interactive/functions-conditional.html are somewhat broken. As a quick sample of something wh

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Ron Mayer
Andrew Dunstan wrote: > In any case, I don't accept this analogy. The mechanics of a Linux > distribution are very different from the mechanics of a project like > PostgreSQL. The prominent OSS project that seems to me most like ours is > the Apache HTTP project. I'd think that File Systems might

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Josh Berkus
> In any case, I don't accept this analogy. The mechanics of a Linux > distribution are very different from the mechanics of a project like > PostgreSQL. The prominent OSS project that seems to me most like ours is > the Apache HTTP project. But they don't do timed releases AFAIK, and > theirs is

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
The problem here is that ARCHFLAGS is not set. If it is set correctly the ldopts would be correctly set: $ export ARCHFLAGS="-arch x86_64" $ perl -MExtUtils::Embed -e ldopts -arch x86_64 -L/usr/local/lib -L/System/Library/Perl/5.10.0/darwin- thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
hi tom, perl_embed_ldflags is currently the difference of perl -MExtUtils::Embed -e ldopts minus perl -MConfig -e 'print $Config{ccdlflags}' In that spirit, the answer would be to find something else in ExtUtils or Config that we can remove from ldopts. As far as I can tell, there is nothin

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David Fetter
On Tue, Sep 08, 2009 at 12:12:10PM -0400, Alvaro Herrera wrote: > Hi, > > I'm seeking more powerful "any" pseudotypes. In particular, > consider a function > > foo(type1, type2) returns type3 > > where type1 and type2 can be both any element type, but not > necessarily both of the same type. C

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Tom Lane
"David E. Wheeler" writes: > On Sep 8, 2009, at 9:25 AM, Tom Lane wrote: >> If you don't want any constraints at all on the argument types, you >> can use "any" (with the quotes, because it's a reserved word :-(). > Oooh, I need to try that. How far back does that behavior go, > compatibility-w

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Tom Lane
Alvaro Herrera writes: > David E. Wheeler wrote: >> Why can't anyelement be freed from this constraint? > Because it would break other uses of it, I think. Specifically, what are you going to do with something like make_array(anyelement, anyelement) returns anyarray There's no principl

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 10:15 AM, Tom Lane wrote: arg_a IS DISTINCT FROM arg_b Surely you'd want arg_a and arg_b constrained to the same type, otherwise there is no certainty that that means anything at all. Yes, for the purposes of pgTAP perhaps so. Then it's on the user to do the cast, be

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Merlin Moncure
On Tue, Sep 8, 2009 at 12:12 PM, Alvaro Herrera wrote: > Hi, > > I'm seeking more powerful "any" pseudotypes.  In particular, consider a > function > > foo(type1, type2) returns type3 > > where type1 and type2 can be both any element type, but not necessarily > both of the same type.  Currently thi

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Tom Lane
"David E. Wheeler" writes: > On Sep 8, 2009, at 9:57 AM, Tom Lane wrote: >> Intentionally so, because there's not a whole lot you can *do* with an >> ANY parameter, other than checking it for null. Perhaps the real >> question is about what semantics you're expecting for these >> unconstrained pa

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 9:57 AM, Tom Lane wrote: Intentionally so, because there's not a whole lot you can *do* with an ANY parameter, other than checking it for null. Perhaps the real question is about what semantics you're expecting for these unconstrained parameters. For my purposes, I guess im

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Tom Lane
Alvaro Herrera writes: > Tom Lane wrote: >> If you don't want any constraints at all on the argument types, you >> can use "any" (with the quotes, because it's a reserved word :-(). > That would work, except that plpgsql and SQL don't like it: Intentionally so, because there's not a whole lot yo

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 9:32 AM, Alvaro Herrera wrote: That would work, except that plpgsql and SQL don't like it: ERROR: PL/pgSQL functions cannot accept type "any" ERROR: SQL functions cannot have arguments of type "any" Seems to go for other PLs, as well: ERROR: PL/Perl functions cannot acc

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Alvaro Herrera
Tom Lane wrote: > Alvaro Herrera writes: > > I'm seeking more powerful "any" pseudotypes. > > If you don't want any constraints at all on the argument types, you > can use "any" (with the quotes, because it's a reserved word :-(). > If you want some constraints but not "anyelement", please be mor

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 9:25 AM, Tom Lane wrote: If you don't want any constraints at all on the argument types, you can use "any" (with the quotes, because it's a reserved word :-(). If you want some constraints but not "anyelement", please be more specific about what you want. Oooh, I need to try

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 9:23 AM, Alvaro Herrera wrote: 2. does anybody have an idea how to attack it? Why can't anyelement be freed from this constraint? Because it would break other uses of it, I think. IIRC the original use of anyelement was that it would resolve to the element type of an

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Tom Lane
Alvaro Herrera writes: > I'm seeking more powerful "any" pseudotypes. If you don't want any constraints at all on the argument types, you can use "any" (with the quotes, because it's a reserved word :-(). If you want some constraints but not "anyelement", please be more specific about what you wa

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Alvaro Herrera
David E. Wheeler wrote: > On Sep 8, 2009, at 9:12 AM, Alvaro Herrera wrote: > >2. does anybody have an idea how to attack it? > > Why can't anyelement be freed from this constraint? Because it would break other uses of it, I think. IIRC the original use of anyelement was that it would resolve t

Re: [HACKERS] RfD: more powerful "any" types

2009-09-08 Thread David E. Wheeler
On Sep 8, 2009, at 9:12 AM, Alvaro Herrera wrote: foo(anyelement, anyelement) returns anyelement but this will force them to be both of the same type, which is not what we want. In my opinion this is a missing feature of our type system. Oh yes, agreed. I've run into this with pgTAP many

Re: [HACKERS] Patch: update Bonjour support to the newer non-deprecated API

2009-09-08 Thread Alvaro Herrera
Tom Lane wrote: > Alvaro Herrera writes: > > Should we inject some sort of compile-time rejection of the > > compatibility API? Like, say > > > #ifdef AVAHI_SERVICE_COOKIE > > #error The Avahi implementation is incompatible > > #endif > > > inside some #ifdef BONJOUR block? > > I looked into t

[HACKERS] RfD: more powerful "any" types

2009-09-08 Thread Alvaro Herrera
Hi, I'm seeking more powerful "any" pseudotypes. In particular, consider a function foo(type1, type2) returns type3 where type1 and type2 can be both any element type, but not necessarily both of the same type. Currently this cannot be made to work: you could try to write the function this way

Re: [HACKERS] Patch: update Bonjour support to the newer non-deprecated API

2009-09-08 Thread Tom Lane
Alvaro Herrera writes: > Should we inject some sort of compile-time rejection of the > compatibility API? Like, say > #ifdef AVAHI_SERVICE_COOKIE > #error The Avahi implementation is incompatible > #endif > inside some #ifdef BONJOUR block? I looked into this and couldn't find any obvious cand

[HACKERS] Disable and enable of table and column constraints

2009-09-08 Thread Michael Gould
It would be nice if we could enable and disable column and table constraints. I believe that you can do this in Oracle but this is very handy for testing stored procedures and other external processes. Best Regards -- Michael Gould, Managing Partner Intermodal Software Solutions, LLC 904.226.0978

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Pavel Stehule
> > I personally suspect PostgreSQL would want a 1 year cycle for major > releases while a full dump/reload is required for upgrades. When this > changes, 6 or even 4 months might actually be a good fit. > For some DBA specialist is 1 year cycle too much fast. I thing, so 1 year cycle is perfect f

Re: [HACKERS] Patch: update Bonjour support to the newer non-deprecated API

2009-09-08 Thread Tom Lane
I wrote: > I've grown a bit tired of reading the "'DNSServiceRegistrationCreate' is > deprecated" warnings in OS X builds, and I'm also wondering whether any > of the recently reported problems with Snow Leopard might trace to our > use of an API that Apple has been deprecating since 2003. Hence,

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Tom Lane
Peter Eisentraut writes: > On mån, 2009-09-07 at 23:13 -0400, Tom Lane wrote: >> ... it seems to me that it's a pretty bad idea to have this switch >> collection trying to override the arch(es) that Postgres is actually >> being built for. Does anyone have an opinion about that pro or con? >> An

Re: [HACKERS] [GENERAL] Adding integers ( > 8 bytes) to an inet

2009-09-08 Thread Martin Gainty
Kristian assuming the max size of 8 byte integer is http://www.postgresql.org/docs/8.1/static/datatype.html bigint8 byteslarge-range integer-9223372036854775808 to 9223372036854775807 i dont know if a IPV6 address 99 99 99 99would fit into 9,223,372,

Re: [HACKERS] Triggers on columns

2009-09-08 Thread Kevin Grittner
David Fetter wrote: > CREATE TRIGGER trig BEFORE UPDATE ON tbl FOR EACH ROW > WHEN (NEW.col IS DISTINCT FROM OLD.col) > EXECUTE PROCEDURE trigger_func(); How much does that buy you versus including this at the start of trigger_func: IF (NEW.col IS NOT DISTINCT FROM OLD.col) THEN

Re: [HACKERS] integer input functions : interesting limit behaviour

2009-09-08 Thread Tom Lane
=?utf-8?Q?Pierre_Fr=C3=A9d=C3=A9ric_Caillau?= =?utf-8?Q?d?= writes: > * Here, the most negative value is sometimes accepted, sometimes not : > test=> SELECT -2147483648::INTEGER; > ERREUR: entier en dehors des limites You're confused about the operator precedence: the above is treated as -(214

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Stuart Bishop
On Tue, Sep 8, 2009 at 7:54 PM, Andrew Dunstan wrote: > The release cycle is quite independent of the release lifetime. If you have dates on releases, it is easier to set dates on release lifetime. If you know the releases come out once a year at about the same time, and you want to have a set nu

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Tom Lane
Andrew Dunstan writes: > I would argue that it would be an major setback for us if we made > another release without having Hot Standby or whatever we are calling it > now. I would much rather slip one month or three than ship without it. I would agree with you, except that every single time we

Re: [HACKERS] CREATE LIKE INCLUDING COMMENTS and STORAGES

2009-09-08 Thread Alvaro Herrera
Itagaki Takahiro wrote: > > David Fetter wrote: > > > On Mon, Sep 07, 2009 at 12:15:21PM +0900, Itagaki Takahiro wrote: > > > Here is a patch to implement the following items in our ToDo list: > > > * Add CREATE TABLE LIKE ... INCLUDING COMMENTS > > > * Have CREATE TABLE LIKE copy column sto

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Andrew Dunstan
Stuart Bishop wrote: Canonical (my employer) certainly believe in time based releases, and that is one of the major reasons for the growth of Ubuntu and the Ubuntu Community. We now use time based releases for almost all our sponsored projects (some 6 monthly, some monthly), and are lobbying va

Re: [HACKERS] Time-based Releases WAS: 8.5 release timetable, again

2009-09-08 Thread Stuart Bishop
On Sat, Aug 29, 2009 at 12:19 AM, Josh Berkus wrote: > I'd think the advantages for our commercial adopters (who pay the > salaries for many of the people on this list) would be obvious; if they > know with a small margin of error when the next version of PostgreSQL is > coming out, they can plan

[HACKERS] integer input functions : interesting limit behaviour

2009-09-08 Thread Pierre Frédéric Caillau d
I was looking in the int*in() functions and found some interesting limit behaviours : * Here, the most negative value is sometimes accepted, sometimes not : test=> SELECT -2147483648::INTEGER; ERREUR: entier en dehors des limites test=> SELECT '-2147483648'::INTEGER; int4

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
hi tom, $ file /System/Library/Perl/lib/5.10/libperl.dylib /System/Library/Perl/lib/5.10/libperl.dylib: Mach-O universal binary with 3 architectures /System/Library/Perl/lib/5.10/libperl.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /System/Library/

Re: [HACKERS] More Snow Leopard fun: multiarch problems while building plperl

2009-09-08 Thread Jan Otto
hi tom, Anyway, the long and the short of it is that we are extracting this value for perl_embed_ldflags: perl_embed_ldflags = -arch x86_64 -arch i386 -arch ppc -L/usr/ local/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/ CORE -lperl -ldl -lm -lutil -lc and it seems to

Re: [HACKERS] ECPG patchset

2009-09-08 Thread Boszormenyi Zoltan
New patch, typo fix in pgc.l. According to our customer who is porting their application to PostgreSQL, this causes an error currently in ECPG: 1. within included structures the use of "$else;" is causing an precompiler error (tested several times in d