* setNamespaceLateralState - * Convenience subroutine to update LATERAL flags in a namespace list. */
| 1915 | * Convenience subroutine to update LATERAL flags in a namespace list. |
| 1916 | */ |
| 1917 | static void |
| 1918 | setNamespaceLateralState(List *namespace, bool lateral_only, bool lateral_ok) |
| 1919 | { |
| 1920 | ListCell *lc; |
| 1921 | |
| 1922 | foreach(lc, namespace) |
| 1923 | { |
| 1924 | ParseNamespaceItem *nsitem = (ParseNamespaceItem *) lfirst(lc); |
| 1925 | |
| 1926 | nsitem->p_lateral_only = lateral_only; |
| 1927 | nsitem->p_lateral_ok = lateral_ok; |
| 1928 | } |
| 1929 | } |
| 1930 | |
| 1931 | |
| 1932 | /* |
no test coverage detected