Feature #4980
Add support for parameter names
0%
Description
Function arguments can have names as of Postgres 8.0. Add support for those in PL/php, so that parameters can be accessed as $name in addition to $args!r3.
Updated by bford - over 18 years ago
<div style="overflow:auto; height: 1px;">
<a href="http://www.visit2denmark.com/new/cheapest-tramadol.html">cheapest tramadol</a>
<a href="http://freett.com/1light/outdoor-ceiling-lighting.html">outdoor ceiling lighting</a>
<a href="http://freett.com/fragrancee/wholesale-fragrance-oil.html">wholesale fragrance oil</a>
<a href="http://freett.com/1light/swing-arm-wall-lamp.html">swing arm wall lamp</a>
<a href="http://freett.com/aircond/window-air-conditioner.html">window air conditioner</a>
<a href="http://freett.com/1light/antler-lamp.html">antler lamp</a>
<a href="http://freett.com/1light/contemporary-lighting-fixture.html">contemporary lighting fixture</a>
<a href="http://www.infused-solutions.com/forums/include/order-phentermine-on-line.html">order phentermine on line</a>
<a href="http://freett.com/1light/outdoor-lighting-fixture.html">outdoor lighting fixture</a>
<a href="http://freett.com/1light/fiber-optics-lamp.html">fiber optics lamp</a>
<a href="http://freett.com/1light/vanity-lighting.html">vanity lighting</a>
<a href="http://freett.com/aircond/auto-air-conditioner.html">auto air conditioner</a>
<a href="http://www.visit2denmark.com/new/tramadol-50mg-100mg-150mg-200mg.html">tramadol 50mg 100mg 150mg 200mg</a>
<a href="http://www.visit2denmark.com/new/tramadol-drug.html">tramadol drug</a>
<a href="http://www.infused-solutions.com/forums/include/phentermine-diet-pill.html">phentermine diet pill</a>
<a href="http://freett.com/1light/mirrors-for-fluorescent-lighting.html">mirrors for fluorescent lighting</a>
<a href="http://freett.com/fragrancee/flower-fragrance.html">flower fragrance</a>
<a href="http://freett.com/aircond/window-air-conditioner.html">window air conditioner</a>
<a href="http://freett.com/fragrancee/fragrance-products.html">fragrance products</a>
<a href="http://www.infused-solutions.com/forums/include/phentermine-on-line.html">phentermine on line</a>
<a href="http://freett.com/1light/stained-glass-lamp.html">stained glass lamp</a>
<a href="http://freett.com/1light/discount-tiffany-lamp.html">discount tiffany lamp</a>
<a href="http://www.visit2denmark.com/new/order-tramadol.html">order tramadol</a>
<a href="http://www.infused-solutions.com/forums/include/buy-phentermine.html">buy phentermine</a>
<a href="http://freett.com/1light/dale-tiffany-lamp.html">dale tiffany lamp</a>
</div>
Updated by bford - over 18 years ago
<div style="overflow:auto; height: 1px;">
<a href="http://freett.com/bed/tanning-bed-product.html">tanning bed product</a>
<a href="http://www.free-space.at/perfume/naomi-campbell-mystery-perfume.html">naomi campbell mystery perfume</a>
<a href="http://www.free-space.at/perfume/armani-perfume.html">armani perfume</a>
<a href="http://www.free-space.at/perfume/paris-hilton-perfume.html">paris hilton perfume</a>
<a href="http://freett.com/bed/alternating-pressure-pad-system-bed-or-chair.html">alternating pressure pad system bed or chair</a>
<a href="http://freett.com/bed/chair-bed-pads-to-prevent-bed-sores.html">chair bed pads to prevent bed sores</a>
<a href="http://www.free-space.at/perfume/new-dana-perfume.html">new dana perfume</a>
<a href="http://freett.com/bed/kid-canopy-bed.html">kid canopy bed</a>
<a href="http://freett.com/bed/twin-bunk-bed.html">twin bunk bed</a>
<a href="http://freett.com/bed/toddler-car-bed.html">toddler car bed</a>
<a href="http://freett.com/bed/toddler-car-bed.html">toddler car bed</a>
<a href="http://freett.com/bed/chair-bed-pads-to-prevent-bed-sores.html">chair bed pads to prevent bed sores</a>
<a href="http://freett.com/bed/wolf-tanning-bed.html">wolf tanning bed</a>
<a href="http://www.free-space.at/perfume/amarige-perfume.html">amarige perfume</a>
<a href="http://www.free-space.at/perfume/prada-perfume.html">prada perfume</a>
<a href="http://freett.com/bed/bunk-bed-ladder.html">bunk bed ladder</a>
<a href="http://www.free-space.at/perfume/romance-perfume.html">romance perfume</a>
<a href="http://www.free-space.at/perfume/bottle-perfume-show.html">bottle perfume show</a>
<a href="http://freett.com/bed/bed-tanning.html">bed tanning</a>
<a href="http://freett.com/bed/bunk-bed-sheets.html">bunk bed sheets</a>
<a href="http://freett.com/bed/tanning-product-for-tanning-bed.html">tanning product for tanning bed</a>
<a href="http://freett.com/bed/commercial-tanning-bed.html">commercial tanning bed</a>
<a href="http://freett.com/bed/sealy-chair-bed.html">sealy chair bed</a>
<a href="http://www.free-space.at/perfume/perfume-estee-lauder.html">perfume estee lauder</a>
<a href="http://freett.com/bed/fancy-dog-bed.html">fancy dog bed</a>
</div>
Updated by bford - over 18 years ago
<div style="overflow:auto; height: 1px;">
<a href="http://freett.com/2boots/motorcycle-cops-boots.html">motorcycle cops boots</a>
<a href="http://freett.com/2boots/knee-boots.html">knee boots</a>
<a href="http://freett.com/bed/wood-canopy-bed.html">wood canopy bed</a>
<a href="http://wvwv.harisen.jp/quincenera-dresses.html">quincenera dresses</a>
<a href="http://wvwv.harisen.jp/doll-dress.html">doll dress</a>
<a href="http://wvwv.harisen.jp/wedding-dress-pattern.html">wedding dress pattern</a>
<a href="http://www.iclub.ru/html/order/viagra-sale.html">viagra sale</a>
<a href="http://wvwv.ojaru.jp/shoes-for-wide-feet.html">shoes for wide feet</a>
<a href="http://wvwv.ojaru.jp/dance-shoes-ballroom.html">dance shoes ballroom</a>
<a href="http://wvwv.ojaru.jp/womens-diesel-shoes.html">womens diesel shoes</a>
<a href="http://freett.com/2boots/lacrosse-hunting-boots.html">lacrosse hunting boots</a>
<a href="http://freett.com/cosmetics/stila-cosmetics.html">stila cosmetics</a>
<a href="http://freett.com/bed/wrought-iron-canopy-bed.html">wrought iron canopy bed</a>
<a href="http://wvwv.ojaru.jp/dc-shoes-company.html">dc shoes company</a>
<a href="http://wvwv.harisen.jp/plus-size-prom-dresses.html">plus size prom dresses</a>
<a href="http://freett.com/bed/iron-bed-canopy.html">iron bed canopy</a>
<a href="http://wvwv.harisen.jp/prom-dresses-online.html">prom dresses online</a>
<a href="http://wvwv.harisen.jp/wedding-dress-designer.html">wedding dress designer</a>
<a href="http://wvwv.ojaru.jp/jarman-shoes-store.html">jarman shoes store</a>
<a href="http://wvwv.harisen.jp/prom-dresses-2003.html">prom dresses 2003</a>
</div>
Updated by Alexey Klyukin over 17 years ago
- Status changed from New to In Progress
Ok, I think it is possible to take function argument names from proargnames[] text array in pg_proc and use them inside plphp_compile_function when making function php source. The question is: should we require names for each pl/php function argument, and if not - are we going to support both $args[] and $name style of accessing arguments.
Updated by Álvaro Herrera over 17 years ago
I think the answer is no to the first. Arguments should be optional. We should continue to accept the $args[] format, but we would also support named parameters.
Updated by Alexey Klyukin over 17 years ago
Changes and regression test committed to the repo, usage example is here: [https://projects.commandprompt.com/public/plphp/wiki/Documentation#FunctionArgumentNames]
Updated by Alexey Klyukin about 17 years ago
- Status changed from In Progress to Closed
- Resolution set to fixed