Re: PL/pgSQL 2

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Ryan Pedela <rpedela(at)datalanche(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/pgSQL 2
Date: 2014-09-02 12:54:26
Message-ID: 5405BE02.5090507@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 09/02/2014 08:41 AM, Ryan Pedela wrote:
> If PL/Javascript is a serious consideration, how will int64 and
> numeric be handled?
>
>

Please don't top-post on the PostgreSQL lists. See
<http://idallen.com/topposting.html>

Unfortunately, I think the short answer is "not very well". In theory we
cauld add in new types to a Javascript interpreter to handle them, but
that would still leave you scrambling to handle user defined types.

One of the advantages of plpgsql is that it can handle any Postgres data
type without having to do anything special.

The truth is that different PLs meet different needs and have different
strengths and weaknesses.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-09-02 13:04:30 Re: PL/PgSQL: RAISE and the number of parameters
Previous Message Ryan Pedela 2014-09-02 12:41:13 Re: PL/pgSQL 2