Re: execution plan : Oracle vs PostgreSQL - Mailing list pgsql-performance

From Andrew Lazarus
Subject Re: execution plan : Oracle vs PostgreSQL
Date
Msg-id 43E7B33F.4030509@pillette.com
Whole thread Raw
In response to Re: execution plan : Oracle vs PostgreSQL  ("FERREIRA, William (VALTECH)" <william.ferreira@airbus.com>)
List pgsql-performance
Indeed there is: you can use an ARRAY constructor with SELECT. Here's
some PGPLSQL code I have (simplified and with the variable names shrouded).

      SELECT INTO m
        ARRAY(SELECT d FROM hp
            WHERE hp.ss=$1
                 ORDER BY 1);


FERREIRA, William (VALTECH) wrote:

> maybe there is an other way to query children directly into an array and having query plan caching ?


Attachment

pgsql-performance by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Default autovacuum settings too conservative
Next
From: Chris Browne
Date:
Subject: Re: Default autovacuum settings too conservative