I hereby claim:
- I am ngzax on github.
- I am ngzax (https://keybase.io/ngzax) on keybase.
- I have a public key whose fingerprint is 4A4A 7D36 1872 E5A1 4F15 171A 9E6F B143 EAD5 8070
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| -- check for exact matches | |
| WITH index_cols_ord as ( | |
| SELECT attrelid, attnum, attname | |
| FROM pg_attribute | |
| JOIN pg_index ON indexrelid = attrelid | |
| WHERE indkey[0] > 0 | |
| ORDER BY attrelid, attnum | |
| ), | |
| index_col_list AS ( | |
| SELECT attrelid, |
| foreach ($array as $key => $value) { | |
| if (is_null($value) || $value=="") { | |
| unset($array[$key]); | |
| } | |
| } |