How access to array component - Mailing list pgsql-sql

From Cristian Cappo
Subject How access to array component
Date
Msg-id 3F180992.5070400@cnc.una.py
Whole thread Raw
Responses Re: How access to array component
List pgsql-sql
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
-------------



pgsql-sql by date:

Previous
From: Andreas
Date:
Subject: "Truncate [ Table ] name [Cascade]"?
Next
From: "Derrick Betts"
Date:
Subject: Return a set of values from postgres Function