From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Vince Vielhaber <vev(at)michvhf(dot)com> |
Cc: | Postgres Hackers List <hackers(at)postgresql(dot)org> |
Subject: | Re: can postgres do this? |
Date: | 1999-10-15 04:43:13 |
Message-ID: | 3806B0E1.9458EB35@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
(on list; interesting topic)
> Tom, I'm looking at an oracle script and seeing something I haven't seen
> before. Is this something oracle specific? Can Postgres do it?
> CREATE OR REPLACE procedure inc_char_for_sort_key (old_char IN OUT CHAR,
> carry_p OUT INTEGER)
> It goes on, but it's the CREATE OR REPLACE part that I'm interested in.
That's interesting. In our case, you would do a "drop function" and
then the "create function" as a two step process. Oracle simplifies it
a bit for you. I'm not sure why we throw an error if you drop a
function which does not exist, since that makes it tough to blindly do
the "drop/create" pair. Why don't we just signal a warning or notice
instead?
- Thomas
--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-10-15 04:50:25 | int8 type |
Previous Message | Thomas Lockhart | 1999-10-15 04:33:32 | Re: [HACKERS] bison |