@@ -631,7 +631,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
631631 {
632632 Node * field1 = (Node * ) linitial (cref -> fields );
633633
634- Assert (IsA (field1 , String ));
635634 colname = strVal (field1 );
636635
637636 /* Try to identify as an unqualified column */
@@ -664,7 +663,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
664663 Node * field1 = (Node * ) linitial (cref -> fields );
665664 Node * field2 = (Node * ) lsecond (cref -> fields );
666665
667- Assert (IsA (field1 , String ));
668666 relname = strVal (field1 );
669667
670668 /* Locate the referenced nsitem */
@@ -685,7 +683,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
685683 break ;
686684 }
687685
688- Assert (IsA (field2 , String ));
689686 colname = strVal (field2 );
690687
691688 /* Try to identify as a column of the nsitem */
@@ -712,9 +709,7 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
712709 Node * field2 = (Node * ) lsecond (cref -> fields );
713710 Node * field3 = (Node * ) lthird (cref -> fields );
714711
715- Assert (IsA (field1 , String ));
716712 nspname = strVal (field1 );
717- Assert (IsA (field2 , String ));
718713 relname = strVal (field2 );
719714
720715 /* Locate the referenced nsitem */
@@ -735,7 +730,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
735730 break ;
736731 }
737732
738- Assert (IsA (field3 , String ));
739733 colname = strVal (field3 );
740734
741735 /* Try to identify as a column of the nsitem */
@@ -764,11 +758,8 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
764758 Node * field4 = (Node * ) lfourth (cref -> fields );
765759 char * catname ;
766760
767- Assert (IsA (field1 , String ));
768761 catname = strVal (field1 );
769- Assert (IsA (field2 , String ));
770762 nspname = strVal (field2 );
771- Assert (IsA (field3 , String ));
772763 relname = strVal (field3 );
773764
774765 /*
@@ -798,7 +789,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
798789 break ;
799790 }
800791
801- Assert (IsA (field4 , String ));
802792 colname = strVal (field4 );
803793
804794 /* Try to identify as a column of the nsitem */
0 commit comments