Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1 - Mailing list pgsql-general

From Alexander Farber
Subject Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1
Date
Msg-id CAADeyWgZ=KLQGXfhU6xEa-F8FPUQutQR_xdkALmyDMcm+VP_rg@mail.gmail.com
Whole thread Raw
In response to Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1  (Francisco Olarte <folarte@peoplecall.com>)
Responses Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1  (Francisco Olarte <folarte@peoplecall.com>)
Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-general
Francisco, thanks, but -
but the custom function I am trying to call (from another function) does not return one row, but several rows, which I'd like to store into a temp table:

        SELECT
                out_word AS word,
                max(out_score) AS score
        INTO TEMP TABLE _words ON COMMIT DROP
        FROM check_words(in_uid, in_gid, in_tiles)
        GROUP BY word, gid;

Regards
Alex

pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: Postgres Pain Points 2 ruby / node language drivers
Next
From: Francisco Olarte
Date:
Subject: Re: SELECT col INTO TEMP TABLE tab2 ON COMMIT DROP FROM tab1