Search Postgresql Archives

Associative array in Pl/PgSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

I have a problem with Pl/PgSQL function. I need to pass it as parameter an associative array. I have no idea how to do that. Can somebody help me?

To be more specific, I have an associative array in PHP. Something like this:

array(
     'name' => 'Robert',
     'age' => 24,
     'teachers' => array(
                                   array('name'=>'Sean'),
                                   array('name'=>'Megan')
                            ) 
);

And, I need work with it into a Pl/PgSQL function. How can I do this?

Thanks in advance.

Regards, Karel Riverón
Student Scientific Council
Informatics Science University




[
Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux