Re: polite request about syntax

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Ricardo Malafaia <rmalafaia(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: polite request about syntax
Date: 2006-09-15 15:54:22
Message-ID: 20060915155422.GR1608@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 15, 2006 at 12:35:03PM -0300, Ricardo Malafaia wrote:
> On 9/15/06, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> >Where is the mention of either of these on the CREATE FUNCTION page?
>
> http://www.postgresql.org/docs/8.1/interactive/sql-createfunction.html

Err, in the example? So you're not complaining about any text as such
and there's nothing actually wrong on that page. OK.

You're complaint is that we follow the standard and MSSQL doesn't and
should follow them instead. Eh?

There are more databases than MS-SQL, we can't implement everybodies
version of "timestamp". And in any case, why are they not the same?

> and, while $$ is a whole lot better than '', why do we really need
> these? Why not a normal, simple, begin end block or {}? People in
> the industry don't like hacks and the open-source world is full of it,
> though it's getting better.

Because Postgresql has a lot more languages. Putting a begin/end around
perl code or {} around python code would just look wrong. $$ is
unobstrusive and looks ok no matter what the language.

Not to mention that it's actually parseable without know the language.
Remember, we have to know where the code block begins and ends before
we know what language it is, the LANGUAGE specifier comes after.

> I think this is all valid criticism, but you wanna play deaf, that's
> up to you guys. cheers

Deaf? You're the first person who has mentioned either of these issues.
So I'm sorry if we don't run to implement them right away.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message X Z 2006-09-15 15:55:26 Re: Build v8.1.4 with VC++ 2005
Previous Message D'Arcy J.M. Cain 2006-09-15 15:47:05 Re: New version of money type