Re: V0.1 patch for TODO Item: SQL-language reference parameters by name. - Mailing list pgsql-patches

From Gevik Babakhani
Subject Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.
Date
Msg-id 003d01c81d68$edc4c880$0a01a8c0@gevmus
Whole thread Raw
In response to Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.
Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.
List pgsql-patches
Hi,

> what about name's collision? Maybe is better use some prefix,
> like $ or :. Without it we only propagate one problem from
> plpgsql to others languages.
>
Please explain.

Perhaps I am wrong, but plpgsql handles arsgument names before it
passes the query to be executed. Please see:

plpgsql/pl_comp.c/do_compile(...)/line: 393

Regards,
Gevik.



pgsql-patches by date:

Previous
From: "Gevik Babakhani"
Date:
Subject: Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.
Next
From: Tom Lane
Date:
Subject: Re: V0.1 patch for TODO Item: SQL-language reference parameters by name.