Re: [GENERAL] array_agg + limit

2010-11-27 Thread Emanuel Calvo Franco
2010/11/27 Lew : > Emanuel Calvo Franco wrote: >> >> I'm having this 'issue': >> >> coches=# select array_agg(patente order by fecha desc) from >> dia4.infraccion limit 6

[GENERAL] array_agg + limit

2010-11-27 Thread Emanuel Calvo Franco
71} (1 row) I now why it happens an how avoid it, but it's ok? Must work like this? --               Emanuel Calvo Franco         DBA | www.emanuelcalvofranco.com.ar Curso a distancia Nivel 1 Admin Postgres:     http://www.postgresql-es.org/node/525 -- Sent via pgsql-general mailing

Re: [GENERAL] postgre on virtual machine

2010-10-20 Thread Emanuel Calvo Franco
gres - redundance or good backups. You can not spare RAM or CORES. What will tell you, the exact amount of each other, is 'how' the application will use the base. If you share more details, maybe we could help a little more. --               Emanuel Calvo Franco         DBA | www.

Re: [GENERAL] PANIC: corrupted item pointer: 32766

2010-05-14 Thread Emanuel Calvo Franco
s? > > The worry part is how this happened?! > Do you have fsync turned off? -- Emanuel Calvo Franco www.emanuelcalvofranco.com.ar Join: http://www.thevenusproject.com/ -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To ma

Re: [GENERAL] Constraint exclusion issue

2010-01-17 Thread Emanuel Calvo Franco
use E'string'. In that case the ' will be include into the string, so it will be not more 1 char lenght. Or something like this: select ('(' || quote_literal('b') || ',0)')::y > shs-dev=# select ('("b,",0)'::y).c; > ERROR:  value

Re: [GENERAL] Innotop for postgresl

2010-01-03 Thread Emanuel Calvo Franco
some enhacements (cosmetic at all) here: http://desarrollos.siu.edu.ar/trac/postgresql/attachment/wiki/Desarrollos/pgstat -- Emanuel Calvo Franco DBA at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgr

Re: [GENERAL] re-using RETURNING

2009-11-12 Thread Emanuel Calvo Franco
es=# COPY tabla_2 FROM '/tmp/returnes.csv' DELIMITER '|'; COPY 19780 postgres=# SELECT * from tabla_2 limit 1; entero ---- 13 (1 row) Obviusly, you can automatize these steps in a shell script. Hope you enjoy it. -- Emanuel Calvo Franco DBA

Re: [GENERAL] Query inside RTF

2009-10-08 Thread Emanuel Calvo Franco
2009/10/8 Leonardo M. : > On jue, 2009-10-08 at 17:01 -0300, Emanuel Calvo Franco wrote: >> > select >> >  * >> > from my_table >> > where >> >  cast(rtf_field as varchar) like '%condition%' >> > >> > This works ok

Re: [GENERAL] Query inside RTF

2009-10-08 Thread Emanuel Calvo Franco
Dollar quoting is more clean to put strings inside than ' '. ~~ is like operator. And :: operand is more clean to the syntax of the query. Don't think so? :) -- Emanuel Calvo Franco DBA at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] How to reduce WAL file Size

2009-10-08 Thread Emanuel Calvo Franco
h function. The option --with-wal-segsize=SEGSIZE set WAL segment size in MB [16] when you compile postgresql allow you to change the size of these files (but you can't do it only restarting :S ) -- Emanuel Calvo Franco DB

Re: [GENERAL] citext like query and index usage

2009-09-22 Thread Emanuel Calvo Franco
7;0.06'); Without hashtext: CREATE INDEX xx ON table (substring(citext_col,1,4)); explain select * from pp where substring(i,1,4) = '0.06'; The entire field to search: CREATE INDEX xx ON table (hashtext(citext_col)); explain select * from pp where hashtext(i) = hashtext('all the

Re: [GENERAL] PostgreSQL Live CD based on CentOS 5.3 and PG 8.4 released

2009-09-03 Thread Emanuel Calvo Franco
2009/9/2 Devrim GÜNDÜZ : > Hi, > > On Wed, 2009-09-02 at 13:47 -0300, Emanuel Calvo Franco wrote: >> > I released initial version of my PostgreSQL 8.4 live CD, which i >> > based on CentOS 5.3. It includes the PostgreSQL related packages >> > that I build on h

Re: [GENERAL] Snow Leopard and plpython problem

2009-09-03 Thread Emanuel Calvo Franco
get work 8.4:libsdl-perl, libperl-dev, python-all-dev (for perl and python). For 8.3 i didn't need it (seems). But in my case i use 2.5. Hope it helps :S -- Emanuel Calvo Franco DBA at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-genera

Re: [GENERAL] PostgreSQL Live CD based on CentOS 5.3 and PG 8.4 released

2009-09-02 Thread Emanuel Calvo Franco
e for pgadmin - has several docs in html format, in a /var/www and when the livecd starts, firefox displays the links for each doc (all the docs are in the cd, thats is the better) - has a postgres wall paper Could be great add-ons, what do you think about it? if i can help let me know. Regards!

Re: [GENERAL] Proxy for postgres

2009-08-14 Thread Emanuel Calvo Franco
oxy queries to different > instances of postgres? > You can use dblink. But could interference the performance and is not really what you want. -- Emanuel Calvo Franco Database consultant at: www.siu.edu.ar www.emanuelcalvofranco.com.ar

Re: [GENERAL] Index utilization

2009-08-14 Thread Emanuel Calvo Franco
t any more. but sounds charm for me. If i can offer some code let me know :) -- Emanuel Calvo Franco Database consultant at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) T

Re: [GENERAL] plperl function

2009-08-13 Thread Emanuel Calvo Franco
t it, if you have problems, i'll try to help again :) The error is telling you that could not return an array into integer. -- Emanuel Calvo Franco Database consultant at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-g

Re: [GENERAL] Simulate count result are distinct between 8.3 and 8.4

2009-08-13 Thread Emanuel Calvo Franco
ng to understand why happens and not look for another way :) -- Emanuel Calvo Franco Database consultant at: www.siu.edu.ar www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make change

[GENERAL] Simulate count result are distinct between 8.3 and 8.4

2009-08-12 Thread Emanuel Calvo Franco
8765 | 571112 168773 | 168766 | 992462 168774 | 168767 | 992471 (5 filas) synchronize_seqscan are on in both engines. I only want to know why is this difference... -- Emanuel Calvo Franco Database consultant at: www.siu.edu.ar www.emanu

Re: [GENERAL] Problems compiling contribs in Open Solaris

2009-07-30 Thread Emanuel Calvo Franco
nnot find include file: >> "xpath.c", line 21: cannot find include file: >> "xpath.c", line 22: cannot find include file: > > You need to tell configure where to find libxml's headers > (--with-includes). > Ok, sounds good :) I will try to take a

[GENERAL] Problems compiling contribs in Open Solaris

2009-07-29 Thread Emanuel Calvo Franco
mbol: doctree "xpath.c", line 190: cannot recover from previous errors cc: acomp failed for xpath.c Reaping losing child 0x080a3290 PID 1718 gmake: *** [xpath.o] Error 2 Removing child 0x080a3290 PID 1718 from chain. The other problem was compiling uuid-opps and tablefunc contribs. Som

[GENERAL] uuid contrib don't compile in OpenSolaris

2009-07-23 Thread Emanuel Calvo Franco
his ? If not, i will continue my workaround on this and try to propose something to fix it. -- Emanuel Calvo Franco www.emanuelcalvofranco.com.ar ArPug.com.ar / aosug.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to yo

Re: [GENERAL] just curious

2009-06-24 Thread Emanuel Calvo Franco
//www.postgresql.jp/npo/logo/?searchterm=logo It's no bad... -- Emanuel Calvo Franco ArPUG [www.arpug.com.ar] / AOSUG Member www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://

Re: [GENERAL] Query optimizer & prepared statements

2009-06-23 Thread Emanuel Calvo Franco
> >    select ... >    from T >    where x > $1 > prepare testy_prepare(int) as select * from T where x = $1; execute testy_prepare(4); Follow the docs :) http://www.postgresql.org/docs/8.1/interactive/sql-prepare.html -- Emanuel Calvo Franco ArPUG [www.arp

Re: [GENERAL] drawback of array vs join

2009-06-23 Thread Emanuel Calvo Franco
mit). Which improvement do you want to obtain with the array way? If the table is very small, the improvement in terms of performance will be negligible. -- Emanuel Calvo Franco ArPUG [www.arpug.com.ar] / AOSUG Member www.emanuelcalvofranco.com.ar -- Sent via p

Re: [GENERAL] Replication

2009-06-23 Thread Emanuel Calvo Franco
ca/ The project is growing and have a very easy setup and administration. -- Emanuel Calvo Franco ArPUG [www.arpug.com.ar] / AOSUG Member www.emanuelcalvofranco.com.ar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] [HACKERS] PostgreSQL installation

2009-06-12 Thread Emanuel Calvo Franco
ation for Solaris are in the site #1, you will find since installation until complex trace rutines. Enjoy it! #1[http://www.sun.com/software/products/postgresql/index.jsp] Regards, -- Emanuel Calvo Franco ArPUG [www.arpug.com.ar] / AOSUG Member www.emanuelcalvofranco.com.ar

Re: [GENERAL] How to store text files in the postgresql?

2009-06-12 Thread Emanuel Calvo Franco
> so that I knew what to look for in the manual? > > Thank you for your time. > Dimitry > You can use the function pg_read_file(text,bigint,bigint)? like: inser into table foo values(1,2,3 [...], pg_read_file(filename,1,[?]); The problem is to write it on the disc, there is not a f

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Emanuel Calvo Franco
2009/5/29 David Fetter : > On Fri, May 29, 2009 at 09:48:42AM -0300, Emanuel Calvo Franco wrote: >> 2009/5/28 Kris Jurka : >> > >> > >> > On Wed, 27 May 2009, Emanuel Calvo Franco wrote: >> > >> >> Hi community, >> >> >> &g

Re: [GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-29 Thread Emanuel Calvo Franco
2009/5/28 Kris Jurka : > > > On Wed, 27 May 2009, Emanuel Calvo Franco wrote: > >> Hi community, >> >> I'm trying to compile pl/java sources for 8.4 beta1 (for a test) but >> it gives me 20 errors at the end: > > To build against 8.4 you need pljava

[GENERAL] Pl/java in 8.4 bet1 sources compilation failed

2009-05-27 Thread Emanuel Calvo Franco
va_all] Error 2 ..." I have 8.3 jar compild pljava, exists a way to create a function and the server 'ignore' the lib version? Regards, -- Emanuel Calvo Franco Sumate al ARPUG ! ( www.arpug.com.ar) ArPUG / AOSUG Member -- Sent via pgsql-gener

Re: [GENERAL] How to Install Postgres 8.3 in Solaris 10 as a service

2009-05-27 Thread Emanuel Calvo Franco
2009/5/27 Emanuel Calvo Franco : > 2009/5/27 Anirban Pal : >> Dear all members, >> >> I have been working on postgres (windows), for last 8 months. Recently, a >> client requrement requires me to install postgres in solaris 10. What I did >> is this. Untar the

Re: [GENERAL] How to Install Postgres 8.3 in Solaris 10 as a service

2009-05-27 Thread Emanuel Calvo Franco
sender does so expressly with > due authority of NSTL. > Remember that in Solaris you have SMF to initialize Postgresql with more 'intelligence'. Is a perfect document that describes the complete installation of Pgsql on this platform: http://dlc.sun.com/pdf/819-5578/819-557

Re: [GENERAL] Good PG Books ?

2009-05-14 Thread Emanuel Calvo Franco
;) > That's i call a good point XD But i must say is not so handly ;P > http://www.postgresql.org/docs/books/ If you look for well, you will find the book i recommended. -- Emanuel Calvo Franco Sumate al ARPUG ! ( www.arpug.com.ar) ArPUG / AOSUG Member --

Re: [GENERAL] Good PG Books ?

2009-05-14 Thread Emanuel Calvo Franco
"postgresql handbook". The Peter Einsertraut book is in Deustch language, but if you have intuition you can read it :P -- Emanuel Calvo Franco Sumate al ARPUG ! ( www.arpug.com.ar) ArPUG / AOSUG Member -- Sent via pgsql-general mailing list (pgsql-gen

Re: [GENERAL] limit-offset different result sets with same query

2009-05-11 Thread Emanuel Calvo Franco
ets large ... you'll never see it during devel testing on toy tables ... > >                        regards, tom lane > Yeap. If you see one of the test i made, you'll see this switch over the ~100 regs. -- Emanuel Calvo Franco Sumate al ARPUG ! ( www.arpug.com.ar) ArPUG / AOSUG Member

Re: [GENERAL] limit-offset different result sets with same query

2009-05-09 Thread Emanuel Calvo Franco
2009/5/8 David Fetter : > On Fri, May 08, 2009 at 06:40:33PM -0300, Emanuel Calvo Franco wrote: >> >> I test it in the first time :) >> >> With the 'order by' it works well, but in 'theory' > > The theory under which you should operate is th

Re: [GENERAL] limit-offset different result sets with same query

2009-05-08 Thread Emanuel Calvo Franco
2009/5/8 David Fetter : > On Fri, May 08, 2009 at 06:10:18PM -0300, Emanuel Calvo Franco wrote: >> Hi all. >> >> I'll make this faster. >> >> I hace this table and this function: > > You should only ever assume that your SELECT's output will have

Re: [GENERAL] limit-offset different result sets with same query

2009-05-08 Thread Emanuel Calvo Franco
2009/5/8 Tom Lane : > Emanuel Calvo Franco writes: >> Executing 'select * from datos limit 1 offset 15' two times i have >> different >> result sets. > > The "synchronous scan" logic is probably responsible.  Turn off >

[GENERAL] limit-offset different result sets with same query

2009-05-08 Thread Emanuel Calvo Franco
8.00 rows=172800 width=8) (actual time=0.014..356.800 rows= 11 loops=1) Total runtime: 622.247 ms (3 rows) That's correct? Is logical that if the scan is sequential in the physical table returns differents data? I test it on 8.4 beta1 and 8.3.5 and 8.3.7 with the same results. Thanks

Re: [GENERAL] In memory Database for postgres

2009-04-13 Thread Emanuel Calvo Franco
a database in disk and have updatable views in memory :) -- Emanuel Calvo Franco Sumate al ARPUG ! (www.postgres-arg.org - www.arpug.com.ar) ArPUG / AOSUG Member Postgresql Support & Admin -- Sent via pgsql-general mailing list (pgsql-general@

Re: [GENERAL] In memory Database for postgres

2009-04-13 Thread Emanuel Calvo Franco
.049 ms (2 rows) So, let's see in a brief: standard table on ram: 22836.532 standard table on disk: 16902.042 temp table on ram: 12773.371 temp table on disk: 13716.049 -- Emanuel Calvo Franco Sumate al ARPUG ! (www.postgres-arg.org - www.arpug.com.ar) A

Re: [GENERAL] [COMMITTERS]

2009-04-06 Thread Emanuel Calvo Franco
d lvalue in assignement > warning no new line at end of file > > Please any direction of how to solve the problem > > here is the command i wrote in MinGW > > gcc -shared -o hamzeh.dll tt1.o -L "c:/programme/postgresql/8.3/lib" > -lpostgres > try c:\programme\

Re: [GENERAL] Last question

2009-04-06 Thread Emanuel Calvo Franco
Gw > > Thanks again AFAIK gcc has an option -I for detail the path of the includes. I think there must be inside a folder called 'server' in the same path. Yes, i was who said to you that committers is not the right place :) -- Emanuel Calvo Franco Sumate al ARPUG

Re: [GENERAL] [COMMITTERS]

2009-04-06 Thread Emanuel Calvo Franco
fnction) > error 'new_point' undeclared (first use in his function) > error: syntax error befre ')' oken > in function 'copy text': > error: 'invalid lvalue in assinment > In function 'concat_text' > error: invalid lvalue in assignement

Re: [GENERAL] [COMMITTERS]

2009-04-06 Thread Emanuel Calvo Franco
t; > PG_RETURN_POINT_P(new_ > point); > } > > the only function that are work are the one with int32 variable. > the other function bring errors and are not working > any body can give directions > > > kind regards > ihab Re-send to pgsql-general. Can you pas

[GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 235 4 of relation…

2009-04-01 Thread Emanuel Calvo Franco
2009/4/1 Emanuel Calvo Franco : > 2009/4/1 Patrick Desjardins : > Did you try to make a reindex? > If you get an error with that, try to drop indexes and create again. > > -- >      Emanuel Calvo Franco >        Sumate al ARPUG ! >      (www.postgres-arg.org - &g

[GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 235 4 of relation…

2009-04-01 Thread Emanuel Calvo Franco
x versions, i declare a var in postgresql.conf (zero_damaged_pages = on ) and make the dump with this option. I don't know if this var is in newly versions. Did you try to make a reindex? -- Emanuel Calvo Franco Sumate al ARPUG ! (www.postgres-arg.org - www.arp

[GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 235 4 of relation…

2009-04-01 Thread Emanuel Calvo Franco
of error occurs generally on 7.x versions or if you are using fsync =off and you have a surprised system down. Try to do a pg_dump of the database or clean (no delete) del wal files (this is not recommendable for new users). > What can I do to fix that problem? > > Thank you, > --

Re: [GENERAL] running two clusters on one machine

2009-03-30 Thread Emanuel Calvo Franco
t; > The two servers are using different ports. I'm running v 8.3 on a > Mac running 10.5. > > What's the secret step I'm missing here? > > Thanks, > Eric > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make chang

Re: [GENERAL] [GENEAL] dynamically changing table

2009-03-30 Thread Emanuel Calvo Franco
e any other clever solutions of this problem? > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel Calvo Franco Sumate al ARPUG ! (www.po

Re: [GENERAL] postgresql and LDAP

2009-03-10 Thread Emanuel Calvo Franco
eful. > -- >  Gregory Stark >  EnterpriseDB          http://www.enterprisedb.com >  Ask me about EnterpriseDB's RemoteDBA services! > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.p

Re: [GENERAL] PostgreSQL CE?

2009-02-23 Thread Emanuel Calvo Franco
of interest. >> Finally, to know if there's any book (english) for the PostgreSQL >> Certification, like in Japanese. >> >> Thank you for your time, >> >> Steve, >> >> > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgr

[GENERAL] VDI of pglive distro

2009-01-27 Thread Emanuel Calvo Franco
om.ar/pgsql.vid.gz [1] http://www.pglive.info -- Emanuel Calvo Franco ArPUG / AOSUG Member Postgresql Support & Admin -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] simple limit of decimals

2009-01-14 Thread Emanuel Calvo Franco
; Andreas Kretschmer > Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) > GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription:

Re: [GENERAL] inconsistency in aliasing

2009-01-14 Thread Emanuel Calvo Franco
Daniel > PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel

Re: [GENERAL] [ADMIN] Problem with pg_dump

2009-01-14 Thread Emanuel Calvo Franco
ystem > Volume Information/ > > > > It should have been two rows as follows: > > > > 1180635517879 3001C:/SQLBackup/ > > 1180635517879 3001C:/System Volume Information/ > > > > Is this something that is perhaps fixed in postgresql 8.3? Any assist

Re: [GENERAL] Cast for text->Integer missing in 8.3.5

2009-01-13 Thread Emanuel Calvo Franco
t; > > Regards, > Aleksander > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > I forgive to tell you that you must add operators...d'oh! -- Emanuel Calvo Franco ArPUG / AOSUG Member Postgresql Support & Admin -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Cast for text->Integer missing in 8.3.5

2009-01-13 Thread Emanuel Calvo Franco
ely on those casts http://code.open-bio.org/svnweb/index.cgi/biosql/revision?rev=284 here are the functions -- Emanuel Calvo Franco ArPUG / AOSUG Member Postgresql Support & Admin -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to y

Re: [GENERAL] Polymorphic "setof record" function?

2009-01-13 Thread Emanuel Calvo Franco
ting Fax: +49 551 489500-91 > Hans-Böckler-Straße 2 http://www.deriva.de > D-37079 Göttingen > > Deriva CA Certificate: http://www.deriva.de/deriva-ca.cer > > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make chan

Re: [GENERAL] Trying to create implicit casts to text in PG 8.3

2009-01-13 Thread Emanuel Calvo Franco
27;s but not the operator. The cast is in other way (try to compare with a text '13') for example. > > Regards, > Aleksander > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresq

Re: [GENERAL] dblink between oracle and postgres?

2009-01-09 Thread Emanuel Calvo Franco
stgres database? >> >> dbi-link Ora-link > > In the opposite direction, you can use Oracle's feature described here: > http://lists.mysql.com/mysql/189287 (change to psqlodbc driver should be > easy). > > > > > -- > Filip Rembiałkowski > --

Re: [GENERAL] H2 database

2009-01-06 Thread Emanuel Calvo Franco
ntly see what it does with > many users, and how it behaves as the number of users increases. > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > --

Re: [GENERAL] Replication on windows

2009-01-06 Thread Emanuel Calvo Franco
subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel Calvo Franco Syscope Postgresql Consultant ArPUG / AOSUG Member -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] This is a limit-offset bug?

2008-12-26 Thread Emanuel Calvo Franco
2008/12/26 Martijn van Oosterhout : > On Fri, Dec 26, 2008 at 09:52:59AM -0200, Emanuel Calvo Franco wrote: >> Hi people, >> >> Yesterday when i was making some commands on 8.3.5 >> (on Centos) >> i found a rare behavior of limit offset. >> >> Try in ps

Re: [GENERAL] Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

2008-12-26 Thread Emanuel Calvo Franco
2008/12/24 Tom Lane : > "Emanuel Calvo Franco" writes: >> But when i want to make, i recieved an error (make and >> /opt/SunStudioExpress/bin/dmake ): >> "... >> eca...@lastchance:~/Desktop/postgresql-snapshot$ sudo make >> You must use GNU make t

[GENERAL] This is a limit-offset bug?

2008-12-26 Thread Emanuel Calvo Franco
from foo limitsdfsdfaerfgsafqaweawe; <- shows all rows select * from foo limit; <- this shows error ok select * from foo limitt; All the chars inmediatly continue the limit or offset commands are ignored. If this kind of problems there isn't a bug, sorry. -- Emanuel Calvo Franc

[GENERAL] Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

2008-12-24 Thread Emanuel Calvo Franco
d for target `all' ..." Exact Versions: Product Version: Sun Studio (Build 200810171318, Sun Studio 20081005) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: SunOS version 5.11 running on x86; UTF-8; es_AR (sunstudio) Userdir: /export/home/ecalvo/.sunstudio/ceres-dev4-SunOS-i386 Than

[GENERAL] Donwload 8.4

2008-12-23 Thread Emanuel Calvo Franco
Hi ! There isn't another way to download 8.4devel that isn't cvs and the last rpm binary? I mean, i need source code, but in my work i can't access with cvs because proxy policies. Sorry for my bad english, -- Emanuel Calvo Franco Syscope Postgresql Consultant ArPUG

Re: [GENERAL] Trigger/Rules Order of operations

2008-12-16 Thread Emanuel Calvo Franco
ts of this implementation? what do you want to resolve with it? > > Ketema J. Harris > www.ketema.net > ket...@ketema.net > ketemaj on iChat > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://w

Re: [GENERAL] Schemas and Privileges

2008-12-12 Thread Emanuel Calvo Franco
t know if there is a way to simmulate this. >> Is there something I can do to make postgres works like Oracle ? I am >> using postgres 8.1.11 on SLES10. >> > > postgres grant model is different; you can't hide db structure from db > users. See that, that's becau

Re: [GENERAL] The future of Solaris?

2008-12-10 Thread Emanuel Calvo Franco
wrong. > > Cheers, > Liraz > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel Calvo Franco Syscope Postgresql Con

Re: [GENERAL] Ubuntu for servers (was TurnKey PostgreSQL)

2008-12-10 Thread Emanuel Calvo Franco
> Cheers, > Liraz > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel Calvo Franco Syscope Postgresql Consultant

Re: [GENERAL] Ayuda

2008-11-06 Thread Emanuel CALVO FRANCO
errores que pudieran afectar al > mensaje original. > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > -- Emanuel Calvo Franco Syscope Postgresql

[GENERAL] PGDAY2008 (PostgreSQL)

2008-11-02 Thread Emanuel CALVO FRANCO
/*-- Bienvenidos a: PGDay 2008 Rio de la Plata Organizado por la comunidad de PostgreSQL de Bs As (BaPUG) Web: www.postgres-arg.org -

Re: [GENERAL] PostgreSQL 8.3.4 Solaris x86 compilation issues

2008-11-01 Thread postgres Emanuel CALVO FRANCO
advance. >> dotyet >> > > > -- > Zdenek Kotala Sun Microsystems > Prague, Czech Republic http://sun.com/postgresql > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Emanuel Calvo Franco Syscope Postgresql DBA BaPUG Member -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Replication with slony-I

2008-10-27 Thread postgres Emanuel CALVO FRANCO
http://slony.blogspot.com/ sorry is in spanish, but is an exelent resource, i hope it will be useful reggards 2008/10/27 Abdul Rahman <[EMAIL PROTECTED]>: > May any one support step by step procedure for the replication with slony-I > in windows xp. > > -- Em

Re: [GENERAL] How to free disk space

2008-10-21 Thread postgres Emanuel CALVO FRANCO
erforming a VACCUM FULL? It locks the database for several > hours, and that is not a solution. > > I guess a backup-restore would do the work but, isn't there a better way to > do this without shutting down postgres? > > Thanks in advandce. > > --

Re: [GENERAL] databases list to file

2008-10-14 Thread postgres Emanuel CALVO FRANCO
inside psql turn \o file then \l 2008/10/9 Jeff Ross <[EMAIL PROTECTED]>: > Joao Ferreira gmail wrote: >> >> Hello all, >> >> I need to print to a file a simple list of all the databases on my >> postgresql. >> >> I need to do this from a shell script to be executed without human >> intervention

Re: [GENERAL] Opteron vs. Xeon performance differences

2008-10-10 Thread postgres Emanuel CALVO FRANCO
When i question about WAL, i mean if WAL is in other drive. You must run a benchmark more expensive to cpu for make a conclusion. Make a query that have more of 8 seconds, then you can see really if exists a diference in other way... i think you don't use the same image of the old server in the n

Re: [GENERAL] Opteron vs. Xeon performance differences

2008-10-10 Thread postgres Emanuel CALVO FRANCO
How do you manage the wal in both servers? The version kernel is the same in both? Runs the same services? Do you make some test with Posgresql only in both servers? If the problem is the inter-CPU, i know you can specified the number of processors do you want to run dedicated to one process. 200

Re: [GENERAL] [HACKERS] PostgreSQL future ideas

2008-09-29 Thread postgres Emanuel CALVO FRANCO
2008/9/27 Douglas McNaught <[EMAIL PROTECTED]>: > On Sat, Sep 27, 2008 at 12:13 PM, Mark Mielke <[EMAIL PROTECTED]> wrote: >> If >> some parts of PostgreSQL are not performance bottlenecks, and they are >> extremely complicated to write in C, and very easy to write in something >> else common and s

Re: [GENERAL] Restoring a database from a file system snapshot

2008-08-27 Thread postgres Emanuel CALVO FRANCO
Sorry Alvaro, i sent to you the message ;P Is the same way (from snapshot) that use Mysql on ZFS. IF you don't change anything in the database, why it don't works? Then you restart the service with the same path. The problem it will be that you need to stop postgres BEFORE snapshot. -- Sent