pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cristian Cappo <ccappo@cnc.una.py>
To: pgsql-sql@postgresql.org
Subject: How access  to array component
Date: Fri, 18 Jul 2003 10:52:02 -0400
Message-ID: <3F180992.5070400@cnc.una.py> (raw)

Hello
   How access to especific array component
of an function with return type _varchar

   declaration of my function:

 >>>  create or replace __function( int2, int2 ) returns _varchar ....

   now use the function in SQL and access to the element 1...

 >>>  select __function(10::int2, 20::int2)[1]
					  ^^^ parsing error.

   Thanks.


Cristian Cappo
-------------




view thread (5+ messages)  latest in thread

Message-ID: <3F180992.5070400@cnc.una.py>
Permalink:  ../3F180992.5070400@cnc.una.py/
Also on:    postgresql.org/message-id/3F180992.5070400@cnc.una.py

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ccappo@cnc.una.py
  Subject: Re: How access  to array component
  In-Reply-To: <3F180992.5070400@cnc.una.py>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox