[GENERAL] [ask] Return Query

2009-03-14 Thread ataherster
hai all, i'm trying create function like this CREATE OR REPLACE FUNCTION penjualan(idcb integer) RETURNS SETOF penjualan AS $BODY$ BEGIN IF ($1 IS NULL) THEN return query SELECT * FROM PENJUALAN; ELSE return query SELECT * FROM PENJUALAN WHERE IDCABANG=$1; END IF; END; $BODY$ LANGUAGE 'plpg

Re: [GENERAL] ODBC limitation??

2009-03-14 Thread Martin Gainty
I would see if you could trim down the statement and keep the statement all on one line (if possible) if you cant trim it down try putting the logic in a function HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any

Re: [GENERAL] ODBC limitation??

2009-03-14 Thread Adrian Klaver
On Saturday 14 March 2009 5:40:40 pm Carl Sopchak wrote: > When I run the following query through psql, it executes successfully. > However, when I run it through ODBC (via OpenOffice Base), I get the error > > SQL Status: HY000 > Error code: 1000 > > syntax error, unexpected $end, expecting BETWEE

Re: [GENERAL] Maximum transaction rate

2009-03-14 Thread Joshua D. Drake
On Sun, 2009-03-15 at 01:48 +0100, Marco Colombo wrote: > Joshua D. Drake wrote: > > On Sat, 2009-03-14 at 05:25 +0100, Marco Colombo wrote: > >> Scott Marlowe wrote: > > > >> Also see: > >> http://lkml.org/lkml/2008/2/26/41 > >> but it seems to me that all this discussion is under the assuption t

Re: [GENERAL] ODBC limitation??

2009-03-14 Thread Dann Corbit
> -Original Message- > From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general- > ow...@postgresql.org] On Behalf Of Carl Sopchak > Sent: Saturday, March 14, 2009 5:41 PM > To: pgsql-general@postgresql.org > Subject: [GENERAL] ODBC limitation?? > > When I run the following query thr

Re: [GENERAL] Maximum transaction rate

2009-03-14 Thread Marco Colombo
Joshua D. Drake wrote: > On Sat, 2009-03-14 at 05:25 +0100, Marco Colombo wrote: >> Scott Marlowe wrote: > >> Also see: >> http://lkml.org/lkml/2008/2/26/41 >> but it seems to me that all this discussion is under the assuption that >> disks have write-back caches. >> "The alternative is to disable

[GENERAL] ODBC limitation??

2009-03-14 Thread Carl Sopchak
When I run the following query through psql, it executes successfully. However, when I run it through ODBC (via OpenOffice Base), I get the error SQL Status: HY000 Error code: 1000 syntax error, unexpected $end, expecting BETWEEN or IN or SQL_TOKEN_LIKE Is this some limitation of ODBC? (I do

[GENERAL] Video from the 2009-03-11 SFPUG talk on Unison, by Reese Hart

2009-03-14 Thread Christophe
Hi, The video is now available for download! You can find it at: http://blog.thebuild.com/sfpug/sfpug-unison-20090311.mov Thanks, -- Christophe -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpre

Re: [GENERAL] Streaming PUG meeting: PostgreSQL Genetics!

2009-03-14 Thread Nathan Boley
>> Will there be a saved version of this (SFPUG talk) available for later >> viewing? Don't >> make me choose between steak and beer and postgres. 8( > > Yes!  I'll announce it here when it's available. > Is there any update on this? -Nathan -- Sent via pgsql-general mailing list (pgsql-genera

[GENERAL] Comemoracao Niver PH - 20, 21 e 22/03!

2009-03-14 Thread baptista
Queridos amigos e amigas, Dia 21/3, farei 32 anos e comemorarei em 3 ocasiões! Na 6a feira (20/3), espero vocês no Happy Hour da Gafieira Lapa 40 Graus (Rua do Riachuelo, 97) no 1º andar, estarei lá a partir das 19h. A casa conta com mesas de sinuca e shows ao vivo. A entrada é de apenas R$

Re: [GENERAL] again...

2009-03-14 Thread Gurjeet Singh
Hi All, Acting on a customer's report I analyzed this bug, and have found a fix for it. It is not a critical error, but it definitely is a bug, and can have security implications. This error is raised from syslogger.c, and since this sub-process is not responsible for any backend communic

Re: [GENERAL] Maximum transaction rate

2009-03-14 Thread Joshua D. Drake
On Sat, 2009-03-14 at 05:25 +0100, Marco Colombo wrote: > Scott Marlowe wrote: > Also see: > http://lkml.org/lkml/2008/2/26/41 > but it seems to me that all this discussion is under the assuption that > disks have write-back caches. > "The alternative is to disable the disk write cache." says it a

[GENERAL] New shapshot RPMs (Mar 10, 2009) are ready for testing

2009-03-14 Thread Devrim GÜNDÜZ
Hi, As we are moving very close to 8.4 beta, please join us for testing 8.4 release. I just released new RPM sets, which is based on Mar 10 CVS snapshot. Please note that these packages are **not** production ready. They are for Fedora 9 and RHEL/CentOS 5. I have no intention to push 8.4 developm