Search Postgresql Archives
powerset?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
: "PostgreSQL General ((EN))" <
pgsql-general@xxxxxxxxxxxxxx
>
Subject
: powerset?
From
: Ben <
bench@xxxxxxxxxxxxxxx
>
Date
: Fri, 22 Sep 2006 23:38:12 -0700
Does anybody have a stored proc they'd like to share (preferably pl/
pgsql) that generates the power set of an array? For instance:
select powerset({1,2,3}); ....would give 8 rows: {} {1} {2} {3} {1,2} {2,3} {1,3} {1,2,3}
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: powerset?
From:
Michael Fuhr
Prev by Date:
Re: Can i switch to the use of persistent connections with my already in use application without worrying ?
Next by Date:
How to avoid error with convert() function
Previous by thread:
Is relpages always supposed to be right?
Next by thread:
Re: powerset?
Index(es):
Date
Thread
[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]