From: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | shridhar_daithankar(at)persistent(dot)co(dot)in, pgsql-hackers(at)postgresql(dot)org, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: [pgsql-performance] Large databases, performance |
Date: | 2002-10-09 18:09:03 |
Message-ID: | hnf8quog5p54tf4tu0i12v00bc6bc9h0f2@4ax.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-performance pgsql-sql |
On Wed, 09 Oct 2002 09:32:50 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
wrote:
>Coupla quick comments on these:
My first attempt on user types; thanks for the tips.
>These functions are dangerous as written, because they will crash on
>null inputs. I'd suggest marking them strict in the function
>declarations.
I was not aware of this, just wondered why bpchar routines didn't
crash :-) Fixed.
>Some attention to volatility declarations (isCachable
>or isImmutable) would be a good idea too.
>Also, it'd be faster and more portable to write the functions with
>version-1 calling conventions.
Done, too. In the meantime I've found out why it crashed with 7.3:
INSERT INTO pg_opclass is now obsolete, have to use CREATE OPERATOR
CLASS ...
Servus
Manfred
From | Date | Subject | |
---|---|---|---|
Next Message | Herbie Liechti | 2002-10-09 18:16:31 | Re: odbc with debian woody/postgres |
Previous Message | Bruce Momjian | 2002-10-09 17:37:33 | Re: MD5 Function? |
From | Date | Subject | |
---|---|---|---|
Next Message | Rod Taylor | 2002-10-09 18:13:26 | Re: [GENERAL] Point in Time Recovery WAS: Hot Backup |
Previous Message | Justin Clift | 2002-10-09 18:04:34 | Re: [GENERAL] Point in Time Recovery WAS: Hot Backup |
From | Date | Subject | |
---|---|---|---|
Next Message | Rich Scott | 2002-10-09 19:32:19 | |
Previous Message | Stephan Szabo | 2002-10-09 17:31:12 | Re: [SQL] problem with the Index |
From | Date | Subject | |
---|---|---|---|
Next Message | Laurette Cisneros | 2002-10-09 23:16:23 | Re: foreign key problem |
Previous Message | Stephan Szabo | 2002-10-09 17:31:12 | Re: [SQL] problem with the Index |