* ExtractErrorLogPersistent - load LOG ERRORS PERSISTENTLY from options. */
| 834 | * ExtractErrorLogPersistent - load LOG ERRORS PERSISTENTLY from options. |
| 835 | */ |
| 836 | static bool |
| 837 | ExtractErrorLogPersistent(List **options) |
| 838 | { |
| 839 | ListCell *cell; |
| 840 | |
| 841 | foreach(cell, *options) |
| 842 | { |
| 843 | DefElem *def = (DefElem *) lfirst(cell); |
| 844 | if (pg_strcasecmp(def->defname, "error_log_persistent") == 0) |
| 845 | { |
| 846 | *options = list_delete_cell(*options, cell); |
| 847 | /* these accept only boolean values */ |
| 848 | return defGetBoolean(def); |
| 849 | } |
| 850 | } |
| 851 | return false; |
| 852 | } |
| 853 | |
| 854 | /* |
| 855 | * Generate a list of ExtTableEntry options |
no test coverage detected