Re: [HACKERS] Optimizer bug??

2004-05-25 Thread Gaetano Mendola
Josh Berkus wrote: Gaetano, Hackers, what about to decrease the default values for this quantities ? Oh, I don't think Ismail has a bug, I think he probably just needs to tune his database. I just only suggesting to decrease that values that are oversized for a modern hardware. Regards Ga

Re: [HACKERS] Optimizer bug??

2004-05-25 Thread Gaetano Mendola
om command line, what you have to do is decrease the cost of the index scan till is less of the sequential scan cost. Good luck. Regards Gaetano Mendola ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if yo

Re: [HACKERS] Optimizer bug??

2004-05-24 Thread Gaetano Mendola
alues that are good for a modern machine. Hackers, what about to decrease the default values for this quantities ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [HACKERS] Big problem

2004-05-24 Thread Gaetano Mendola
ough in the initdb fase create the postgres user as undeleateable. I think this is resonable. Regards Gaetano Mendola ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] Optimizer bug??

2004-05-24 Thread Gaetano Mendola
icletbl; SELECT COUNT(*) AS c FROM articletbl WHERE mydate BETWEEN '2004-04-24' AND '2004-05-24'; SELECT COUNT(*) AS c FROM articletbl WHERE mydate = '2004-04-24'; Regards Gaetano Mendola ---(end of broadcast)--- TI

Re: [HACKERS] Call for 7.5 feature completion

2004-05-22 Thread Gaetano Mendola
Win32 compared with other products? I really hope yes, you know: there is no a *second* possibility to do a *first* good impression. Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Call for 7.5 feature completion

2004-05-20 Thread Gaetano Mendola
duction", am I wrong ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

[HACKERS] emaildt_0.0.2

2004-05-19 Thread Gaetano Mendola
ot;[EMAIL PROTECTED]" true o false? Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Why new features only in magior releases ?

2004-05-18 Thread Gaetano Mendola
Neil Conway wrote: Gaetano Mendola wrote: I well understand the reason to wait a 7.5 in order to delivery BIG changes that are requiring a initdb, but I don't understand why little enhancement can not be delivered in a 7.4.3 ( may be with a short period with a 7.4.3beta ) like the "vacu

[HACKERS] Why new features only in magior releases ?

2004-05-18 Thread Gaetano Mendola
ering some improvements in the 7.4.3 will permit to delay a month the 7.5 without the pain to wait too long for some enhancements. Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [HACKERS] Call for 7.5 feature completion

2004-05-17 Thread Gaetano Mendola
Hans-Jürgen Schönig wrote: Somebody has posted sync multimaster replication (PgCluster) - nobody has commented on that. Maybe I am the only one who has ever tried it ... I didn't find it on pgFoundry, others place to look at it ? Regards Gaetano Mendola ---(e

Re: [HACKERS] Email data type

2004-05-17 Thread Gaetano Mendola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Page wrote: |>-Original Message- |>From: Gaetano Mendola [mailto:[EMAIL PROTECTED] |>Sent: 17 May 2004 16:02 |>To: Bruno Wolff III |>Cc: [EMAIL PROTECTED] |>Subject: Re: [HACKERS] Email data type |> |>About the dom

Re: [HACKERS] email data type first release

2004-05-17 Thread Gaetano Mendola
Greg Stark wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: Comments are welcomed. Well as long as you're asking... Email domains are case insensitive, but the left hand side is case sensitive. That's the only part that's hard to handle using a text data type, it would b

Re: [HACKERS] Email data type

2004-05-17 Thread Gaetano Mendola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Wolff III wrote: | On Sun, May 16, 2004 at 04:36:55 +0200, | Gaetano Mendola <[EMAIL PROTECTED]> wrote: | |>The type is indexable and provide also conversion methods: |> |>text <--> email |>and the operator >>, is

Re: [HACKERS] Email data type

2004-05-16 Thread Gaetano Mendola
Gaetano Mendola wrote: Hi all, this is the alpha version for the new email data type, is not written as built in type but as plug in, Tome Lane and others drove me in this direction. The type is indexable and provide also conversion methods: text <--> email and the operator >>, is pos

[HACKERS] Email data type

2004-05-16 Thread Gaetano Mendola
x27;@' (it's an alpha version), I'd like to put it on pgfoundry but apparently my DNS are unable to resolve www.pgfoundry.org. I'll put this version as soon the address become available. This is the first time that I wrote code for postgresql so please, if you can, do a sort

[HACKERS] email data type first release

2004-05-16 Thread Gaetano Mendola
if you can, do a sort of code revision on it. Comments are welcomed. ============= Regards Gaetano Mendola. ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

[HACKERS] create type: recv and send function

2004-05-14 Thread Gaetano Mendola
Hi all, what is the purpose of two function send and receive when a new type is defined ? When these two functions are called ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate

[HACKERS] invalid type internal size -1

2004-05-14 Thread Gaetano Mendola
IABLE. (Internally, this is represented by setting typlen to -1.) I'm doing this on Postgres 7.4.1 Am I missing something ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list archives?

Re: [HACKERS] pg_begintypend

2004-05-14 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: which library I have to link in order to have the symbol pg_begintypsend ? I think you want pq_begintypsend. Consider paying more attention to unknown-function warnings from your compiler. I had no warning at all, I think I h

[HACKERS] pg_begintypend

2004-05-13 Thread Gaetano Mendola
brary "emaildt.so": emaildt.so: undefined symbol: pg_begintypsend I'm compiling my files in this way: gcc -c -g -fPIC -o "email.o" -I /usr/include/pgsql/server "email.c" gcc -g -shared -fPIC -o "emaildt.so" email.o which library I have to

[HACKERS] invalid memory alloc request size 0

2004-05-11 Thread Gaetano Mendola
Hi all, strange errors with a empty table: kalman=# create table test(); CREATE TABLE kalman=# select * from test t union select * from test t1; ERROR: invalid memory alloc request size 0 I think this have to return: -- (0 rows) Regards Gaetano Mendola ---(end of

[HACKERS] tinyint

2004-05-10 Thread Gaetano Mendola
cc email.c -I. -I /usr/include/pgsql/server I seen also that a library called libpgext.so is created. Shall I do the same ? Are guide line to use out there? Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our lis

Re: [HACKERS] email built in type

2004-05-10 Thread Gaetano Mendola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Conway wrote: | On Sat, 2004-05-08 at 13:10, Gaetano Mendola wrote: | |>However an *add on* is an *add on* with not the same eligibility |>of the main project | | | I'd suggest implementing the custom datatype first and packaging it |

Re: [HACKERS] email built in type

2004-05-08 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: Tom Lane wrote: Can't you do what you want as a local add-on? I guess that for manage efficiently million of email addresses I need to have a built in type instead of a domain with a regex as validator, You probably

Re: [HACKERS] email built in type

2004-05-08 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: about you is it ok for you if I write the email built in type ? You're going to have to explain why it has to be a built-in type. Can't you do what you want as a local add-on? Is it likely that the functionality

Re: [HACKERS] Constraint not shown on \d ?

2004-05-08 Thread Gaetano Mendola
choose one ot other one, and basic all why drop index idx_my_index cascade; doesn't drop the constraint too? Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-noma

[HACKERS] email built in type

2004-05-08 Thread Gaetano Mendola
Hi all, about you is it ok for you if I write the email built in type ? I know of course that I can do it with a DOMAIN. Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list archives? http

[HACKERS] write a new built in type

2004-05-07 Thread Gaetano Mendola
inserted in the file at point 1 and what else ? For example how may I define the name for my new type ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Usability, MySQL, Postgresql.org, gborg, contrib,

2004-05-07 Thread Gaetano Mendola
that programmers are not aware of ( see select max(id) from foo; optimized with a order by + limit 1 ). Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Usability, MySQL, Postgresql.org, gborg, contrib,

2004-05-07 Thread Gaetano Mendola
pgsql is more close to postgres then plPython or plPerl, and after all is nearest SQL then plPtyhton or plPerl so a DBA find it more confortable then others languages. my two cents. Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Hav

Re: [HACKERS] COPY command - CSV files

2004-05-07 Thread Gaetano Mendola
developers :-o You should really get the CVS code if you want to hack on Postgres ... there are a lot of changes since 7.4.3. 7.4.3 is not out yet, even I don't find the TAG on CVS. Regards Gaetano Mendola ---(end of broadcast)---

[HACKERS] Constraint not shown on \d ?

2004-05-07 Thread Gaetano Mendola
ot;id_code_pool"); or ALTER TABLE activation_code ADD UNIQUE ( code, id_code_pool ); with \d command there is no difference but is different because the first command create an index deleteable with a "drop index". Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] psql 7.3.4 disagrees with NATURAL CROSS JOIN

2004-05-07 Thread Gaetano Mendola
Christopher Kings-Lynne wrote: Just a note for the hackers, Jonathan (I think :) ) talked to me about this on the irc channel - we couldn't figure this one out. Seems that Exist a postgres irc server? If yes may I know the server and port ? Regards Gaetano Me

Re: [HACKERS] Postgres Optimization: IO and Data Organization

2004-05-06 Thread Gaetano Mendola
is not so expensive after all. Please, don't consider optimization that other DBMS are performing will be good also for postgres, I think Oracle made pre forking of a pool of process and this because a Oracle process when is forked do more work then a postmaster. Regards Gaetano Mendola -

Re: [HACKERS] ALTER TABLE TODO items

2004-05-05 Thread Gaetano Mendola
de a table definition could save us some pains. Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [HACKERS] The features I'm waiting for.

2004-05-05 Thread Gaetano Mendola
r, fault tollerance, load balancer, ... ) ? I'm looking forward to these tools indeed. Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Invalid pg_hba.conf => Postgres crash

2004-04-24 Thread Gaetano Mendola
Tom Lane wrote: I was able to reproduce the crash but not the hang. Would you see if the attached patch fixes both symptoms on your machine? Yes, problem gone. I discover however that what I was believing an hang was in reality just a delayed crash. Regards Gaetano Mendola

[HACKERS] Invalid pg_hba.conf => Postgres crash

2004-04-24 Thread Gaetano Mendola
; shutdown TRUE LOG: next transaction ID: 195700; next OID: 5718523 LOG: database system was not properly shut down; automatic recovery in progress LOG: record with zero length at 0/4877FD78 LOG: redo is not required LOG: database system is ready Regards Gaetano Mendola

Re: [HACKERS] 7.5 beta version]

2004-04-16 Thread Gaetano Mendola
Jürgen Cappel wrote: Point 1 I completely agree on: byte order, alignment, padding, etc. is different for each platform and data cannot directly be exchanged. Point 2: who really needs C++ ?? We use it, a multi path TCP router written in C++ and behind there is a Postgresql... Regards Gaetano

[HACKERS] idle in transaction with JDBC interface

2004-04-08 Thread Gaetano Mendola
t;- Idle in transaction 6) select now();|select now(); ~| <- Idle in transaction 7) rollback;|rollback; ~| <- Connection Idle AS you can see the JDBC driver must do a begin only before the first statement. Am I missin

[PERFORM] linux and anotime mount option

2004-03-31 Thread Gaetano Mendola
Do you know if postgres made assumption on the access time time stamp for the files on his own file sistem ? If not I'm wondering if mount a partition with the option "anotime" can improve the disk i/o performance. Regards Gaetano Mendola ---(e

Re: [HACKERS] CVS HEAD compile warning

2004-02-26 Thread Gaetano Mendola
Tom Lane wrote: Red Hat's still shipping 2.5.4a according to a quick look... Well Red Hat's still ship Postgres 7.3.4 ... I'm not considering anymore RH to be up to date with various versions :-( Gaetano ---(end of broadcast)--- TIP 9: the planner

Re: [HACKERS] Heads up: 7.3.6 and 7.4.2 coming soon

2004-02-22 Thread Gaetano Mendola
7.3.4 just because the guys on the operational side install only precompiled pachage :-( Regards Gaetano Mendola ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [HACKERS] Idea about better configuration options for sort memory

2004-02-01 Thread Gaetano Mendola
raise a warning if the old GUC is used, can speed the adoption of new GUCs variables. Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Disaster!

2004-01-27 Thread Gaetano Mendola
slru.c had had less-paranoid error checking. [SNIP] Clap. Clap. Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] Preventing stack-overflow crashes (improving on max_expr_depth)

2003-12-31 Thread Gaetano Mendola
Tom Lane wrote: Comments? Really ugly but effective. Is ABS enough on a 64-bit architecture ? Or is better use labs ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate

Re: [HACKERS] Little mess in RPM RH ?

2003-12-28 Thread Gaetano Mendola
d be great. I still have a RH 6.2 machine in case anybody still wants that. I'll do it tomorrow, or is may be better do it for the 7.4.1 ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send

[HACKERS] Little mess in RPM RH ?

2003-12-27 Thread Gaetano Mendola
0-0.2 version! I'm able to put my hand on RH 8.0, RH 9.0, RHAS 2.1 and RHAS 3.0 and RH 7.3 systems, if you need some help let me know. Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an a

Re: [HACKERS] [GENERAL] Backwards index scan

2003-12-21 Thread Gaetano Mendola
Tom Lane wrote: I have committed a fix into 7.5devel to do this properly. I think this is the last case wherein btree is unnecessarily inefficient for large numbers of equal keys. Any chance to have it on 7.4.1 ? Regards Gaetano Mendola ---(end of broadcast

[HACKERS] Double linked list with one pointer

2003-12-06 Thread Gaetano Mendola
http://www.semantics.org/tyr/tyr0_5/list.h = In this way we are going to save a pointer for each node, what do you think ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] rebuilding rpm for RH9 error

2003-12-04 Thread Gaetano Mendola
Lamar Owen wrote: On Tuesday 02 December 2003 06:29 pm, Gaetano Mendola wrote: Lamar Owen wrote: You need to specify that you are building for Red Hat 9 on the command I'll try. Ok. I did it on a RHAS 2.1 and I get: make[3]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.4/s

Re: [HACKERS] rebuilding rpm for RH9 error

2003-12-02 Thread Gaetano Mendola
Lamar Owen wrote: On Monday 01 December 2003 08:53 pm, Gaetano Mendola wrote: Hi all, I'm still experiencing problem trying to rebuild the rpm from the file: postgresql-7.4-0.5PGDG.src.rpm I seen that the configure is done with: --with-krb5=/usr. You need to specify that you are buildin

Re: [HACKERS] rebuilding rpm for RH9 error

2003-12-02 Thread Gaetano Mendola
krb5-devel-1.2.7-10 krb5-libs-1.2.7-14 krb5-workstation-1.2.7-14 Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

[HACKERS] rebuilding rpm for RH9 error

2003-12-01 Thread Gaetano Mendola
with file from package unixODBC-devel-2.2.3-6 Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [HACKERS] *sigh*

2003-11-29 Thread Gaetano Mendola
unt(*) information in a special table, why not implement the same in a way "builded in" ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] [7.3.x] function does not exist ... ?

2003-11-10 Thread Gaetano Mendola
You may need to add explicit typecasts now return a timestamp with time zone and your function take a timestamp without time zone. ^^^ Regards Gaetano Mendola ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [HACKERS] Performance features the 4th

2003-11-09 Thread Gaetano Mendola
le to apply it also to a 7.3.X ( our production DB). Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] pg_stat

2003-11-06 Thread Gaetano Mendola
. Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] postgresql-7.4RC1 - Memory fault(coredump) on HP-UX

2003-11-06 Thread Gaetano Mendola
Verbus Counts wrote: {/opt/postgres/postgresql-7.4RC1}$ ll core -rw--- 1 postgres postgres726684 Nov 6 10:55 core Can you show us the stack trace ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'ki

Re: [HACKERS] Changes to Contributor List

2003-11-05 Thread Gaetano Mendola
Who is eligible to be a "contributor" ? Who wrote a single line of code that now is inside Postgres? Who discovered a "major" bug ? Who partecipate actively to all discussions ? Regards Gaetano Mendola ---(end of broadcast)--

Re: [HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-04 Thread Gaetano Mendola
Alvaro Herrera wrote: On Tue, Nov 04, 2003 at 05:35:42PM +0100, Gaetano Mendola wrote: I agree in general with you for these "general" arguments, but here we are talking about to introduce a sleep ( removable by guc ) or not! What about the hash refactoring introduced with 7.4? Are

Re: [HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-04 Thread Gaetano Mendola
Jan Wieck wrote: Gaetano Mendola wrote: Tom Lane wrote: "Marc G. Fournier" <[EMAIL PROTECTED]> writes: On Tue, 4 Nov 2003, Gaetano Mendola wrote: Is in the last Tom's patch about Vacuum sleep between pages ? that won't be in v7.4, to the best of my knowledge ...

Re: [HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-04 Thread Gaetano Mendola
Tom Lane wrote: "Marc G. Fournier" <[EMAIL PROTECTED]> writes: On Tue, 4 Nov 2003, Gaetano Mendola wrote: Is in the last Tom's patch about Vacuum sleep between pages ? that won't be in v7.4, to the best of my knowledge ... Definitely not. It's a very experim

Re: [HACKERS] 7.4RC1 tag'd, branched and bundled ...

2003-11-03 Thread Gaetano Mendola
Marc G. Fournier wrote: As Tom announced on Friday, Release Candidate 1 has now been tag'd and bundled ... please test to confirm that nothing seems off with this build Is in the last Tom's patch about Vacuum sleep between pages ? Regards Gaetano Mendola

Re: [HACKERS] Experimental patch for inter-page delay in VACUUM

2003-11-02 Thread Gaetano Mendola
nly to any recent 7.4 beta. You could likely adapt it to 7.3 without much effort. Will we have this on 7.4 ? I tried it and improve a lot the responsiness of my queries just putting the delay equal to 10 ms. Regards Gaetano Mendola ---(end of broadcast)---

Re: [HACKERS] BEGIN vs START TRANSACTION

2003-10-27 Thread Gaetano Mendola
in a > transaction under the SQL standard is START TRANSACTION. These IMHO means push people to not use BEGIN anymore. Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nom

Re: [HACKERS] Foreign Key bug -- 7.4b4

2003-10-26 Thread Gaetano Mendola
Bruce Momjian wrote: I can confirm this bug in CVS. Something is cached, if you quit your psql session after droping the constraint, and you start another psql session the problem disappear. Regards Gaetano Mendola ---(end of broadcast)--- TIP 2

[HACKERS] BEGIN vs START TRANSACTION

2003-10-26 Thread Gaetano Mendola
Hi all, why START TRANSACTION READ ONLY is allowed and not BEGIN READ ONLY ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] duration time on beta5

2003-10-23 Thread Gaetano Mendola
Bruce Momjian wrote: I think you are pointing to the wrong version --- I see: LOG: duration: 0.998 ms statement: select 1; I'm a dummy, I forgot to do gmake install after have compiled the last beta :-( yes you're right. Regards Gaetano Mendola

[HACKERS] duration time on beta5

2003-10-23 Thread Gaetano Mendola
I'm seeing on the log file: LOG: duration: 0.024814 select now(); Am I wrong or we agree to have: LOG: duration: 24.81 ms select now(); Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched our list arc

Re: [HACKERS] Vacuum thoughts

2003-10-19 Thread Gaetano Mendola
ount(*) ) ? Why not do a sort of "vacuum" if a scan table happen ( during a simple select that invole a full scan table for example )? Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?

Re: [HACKERS] ways to force index use?

2003-10-13 Thread Gaetano Mendola
nd a way to calculate this elbow ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] rt_sigprocmask

2003-10-12 Thread Gaetano Mendola
Gaetano Mendola wrote: Hi all, I'm importing on Postgres 7.3.4 a dump and after one hour the process is still there to perform a COPY of a table with about ~1.5M rows. BTW after 2 days the process is still importing :-( Gaetano ---(end of broa

[HACKERS] rt_sigprocmask

2003-10-10 Thread Gaetano Mendola
2 68 2 0 0 407940 21584 125640 47097600 0 0 524 509 29 2 69 1 0 0 407940 21584 125640 47097640 4 0 630 634 30 1 69 Regards Gaetano Mendola ---(end of broadcast)--- TIP 6: Have you searched ou

[HACKERS] Autovacuum readme

2003-10-08 Thread Gaetano Mendola
uot;) may be here deleteThreshold shall be AnalyzeThreshold and insertThreshold shall be VacuumThreshold am I missing something? Regards Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please

Re: [HACKERS] psql italian translation

2003-10-07 Thread Gaetano Mendola
Andreas Pflug wrote: Gaetano Mendola wrote: Right, anyway there was typos in the translation, and my vi was unable to display: è, à. Anyway is a common stuff and well accepted have a' instead of à. Hi Gaetano, in the era of unicode I don't quite see why this needs to be accep

Re: [HACKERS] psql italian translation

2003-10-07 Thread Gaetano Mendola
Andreas Pflug wrote: Gaetano Mendola wrote: Peter Eisentraut wrote: Gaetano Mendola writes: Some corrections. I don't understand why your patch changes è to e' and à to a'. Also, please make your next patch so that it can be applied to the file it.po (not psql.pot). Be

Re: [HACKERS] psql italian translation

2003-10-07 Thread Gaetano Mendola
Peter Eisentraut wrote: Gaetano Mendola writes: Some corrections. I don't understand why your patch changes è to e' and à to a'. Also, please make your next patch so that it can be applied to the file it.po (not psql.pot). Because with some terminal the character è, à, and o

Re: [HACKERS] psql italian translation

2003-10-06 Thread Gaetano Mendola
tions. Regards Gaetano Mendola psql.pot.patch.gz Description: GNU Zip compressed data ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [HACKERS] Open 7.4 items

2003-10-06 Thread Gaetano Mendola
Gaetano Mendola ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Re: [HACKERS] NOTICE: CREATE TABLE will create implicit triggers for foreign-key

2003-10-01 Thread Gaetano Mendola
e nice have this kind of "NOTICE", that may be is better call "INTERNALS", and switchable off. Regards Gaetano Mendola ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] expanding on syslog help

2003-09-30 Thread Gaetano Mendola
dependend Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

[HACKERS] ERROR: "foo_type" is a composite type

2003-09-29 Thread Gaetano Mendola
r line 2 is the intended behaviour ? Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] Problem with function permission test in a view

2003-09-28 Thread Gaetano Mendola
function and see if is used inside a view or not, and choose the right permission. We have ~ 100 View and ~ 100 functions :-( Regards Gaetano Mendola PS: I vote that is a bug :-) ---(end of broadcast)--- TIP 6: Have you searched our list

Re: [HACKERS] Is this a commit problem?

2003-09-24 Thread Gaetano Mendola
[EMAIL PROTECTED] wrote: 2. SELECT d_next_o_id INTO current_o_id FROM district WHERE d_w_id = 1 AND d_id = 8 3. UPDATE district SET d_next_o_id = d_next_o_id + 1 WHERE d_w_id = 1 AND d_id = 8 I don't know exactly what you are trying to do but usualy in cases like this, in ord

Re: [HACKERS] Improving REINDEX for system indexes (long)

2003-09-23 Thread Gaetano Mendola
Hiroshi Inoue wrote: Gaetano Mendola [mailto:[EMAIL PROTECTED] wrote: Hiroshi Inoue wrote: instead. Because it was impossible to make REINDEX transaction-safe then, such flag was needed to suppress inconsistency as less as possible. This mean that the actual REINDEX is not transaction-safe

Re: [HACKERS] Improving REINDEX for system indexes (long)

2003-09-23 Thread Gaetano Mendola
Hiroshi Inoue wrote: > instead. Because it was impossible to make REINDEX transaction-safe > then, such flag was needed to suppress inconsistency as less > as possible. This mean that the actual REINDEX is not transaction-safe ? Regards Gaetano Mendola -

Re: [HACKERS] Error message cleanup

2003-09-21 Thread Gaetano Mendola
Peter Eisentraut wrote: "transaction block" vs. "BEGIN/END transaction block" -> Both are used, I think the first one is better. I vote for the second one. Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't

Re: [HACKERS] 7.4beta2 vs 7.3.3

2003-09-20 Thread Gaetano Mendola
Tom Lane wrote: Your idea of reducing id_provider to id_class using a separate query seems like a good one to me --- that will allow the planner to generate different plans depending on which id_class value is involved. However is not a natural way to approch the problem; Am I wrong ? Gaetano

Re: [HACKERS] PostgreSQL not ACID compliant?

2003-09-20 Thread Gaetano Mendola
Joshua D. Drake wrote: I need a hug. *HUG* ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list

Re: [HACKERS] 7.4beta2 vs 7.3.3

2003-09-20 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: The select take long: Postgres7.3.3: average 4000 ms Postgres7.4b2: average 2600 ms you can experiment your self with the dump that I gave you Hm. I tried to duplicate your results. I'm getting about 5400 msec versu

Re: [HACKERS] 7.4beta2 vs 7.3.3

2003-09-19 Thread Gaetano Mendola
Tom Lane wrote: Gaetano Mendola <[EMAIL PROTECTED]> writes: Tom Lane wrote: Hm, it sure looks to be exactly the same plan. The performance difference seems to be just that the seqscans are faster. I surmise that in the 7.3 database you had a lot of dead rows, or at least a lot of free

Re: [HACKERS] 7.4beta2 vs 7.3.3

2003-09-18 Thread Gaetano Mendola
Gaetano Mendola wrote: Tom Lane wrote: Hm, it sure looks to be exactly the same plan. The performance difference seems to be just that the seqscans are faster. I surmise that in the 7.3 database you had a lot of dead rows, or at least a lot of free space. Possibly you need to vacuum more often

Re: [HACKERS] 7.4beta2 vs 7.3.3

2003-09-18 Thread Gaetano Mendola
of junk in the tables. The two databases were created from scratch and the first operation on it ( after a vacuum analyze ) was just that query. I will try to pump up the statistic target. Regards Gaetano Mendola ---(end of broadcast)--- TIP 5: Have

[HACKERS] 7.4beta2 vs 7.3.3

2003-09-18 Thread Gaetano Mendola
3 msec (11 rows) How you can see with 7.4 the two queries ( the original with the join and with the IN nested ) are performing at the same way. Regards Gaetano Mendola ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] observations about temporary tables and schemas

2003-09-18 Thread Gaetano Mendola
m kinda leaning towards the first; does anyone feel that it's a valuable feature to keep? My vote is for remove this feature. Regards Gaetano Mendola ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] constraint modification on todo list

2003-09-15 Thread Gaetano Mendola
;s why they need to > >invent combination operations like MODIFY CONSTRAINT. > > As my colleague says: > > it is indeed a lazy choice, but super safe and that's the goal. Does your colleague know the Aesops's Fables: "The fox and the Grapes" ? Regards Gaetano Mendol

Re: [HACKERS] Problem with function permission test in a view

2003-09-14 Thread Gaetano Mendola
it sure sounds like a bug. What logic is there that table access > use the view permissions, but not function access? Could we just use > SECURITY DEFINER for function calls in views? I already had this problem, look here: http://groups.google.it/groups?q=postgres+security+de

Re: [HACKERS] Problem with function permission test in a view

2003-09-13 Thread Gaetano Mendola
it sure sounds like a bug. What logic is there that table access > use the view permissions, but not function access? Could we just use > SECURITY DEFINER for function calls in views? I already had this problem, look here: http://groups.google.it/groups?q=postgres+security+de

<    1   2   3   4   5   >