* Returns whether query identifier computation has been enabled, either * directly in the GUC or by a module when the setting is 'auto'. */
| 77 | * directly in the GUC or by a module when the setting is 'auto'. |
| 78 | */ |
| 79 | static inline bool |
| 80 | IsQueryIdEnabled(void) |
| 81 | { |
| 82 | if (compute_query_id == COMPUTE_QUERY_ID_OFF) |
| 83 | return false; |
| 84 | if (compute_query_id == COMPUTE_QUERY_ID_ON) |
| 85 | return true; |
| 86 | return query_id_enabled; |
| 87 | } |
| 88 | |
| 89 | #endif /* QUERYJUMBLE_H */ |
no outgoing calls
no test coverage detected