@@ -631,7 +631,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
631
631
{
632
632
Node * field1 = (Node * ) linitial (cref -> fields );
633
633
634
- Assert (IsA (field1 , String ));
635
634
colname = strVal (field1 );
636
635
637
636
/* Try to identify as an unqualified column */
@@ -664,7 +663,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
664
663
Node * field1 = (Node * ) linitial (cref -> fields );
665
664
Node * field2 = (Node * ) lsecond (cref -> fields );
666
665
667
- Assert (IsA (field1 , String ));
668
666
relname = strVal (field1 );
669
667
670
668
/* Locate the referenced nsitem */
@@ -685,7 +683,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
685
683
break ;
686
684
}
687
685
688
- Assert (IsA (field2 , String ));
689
686
colname = strVal (field2 );
690
687
691
688
/* Try to identify as a column of the nsitem */
@@ -712,9 +709,7 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
712
709
Node * field2 = (Node * ) lsecond (cref -> fields );
713
710
Node * field3 = (Node * ) lthird (cref -> fields );
714
711
715
- Assert (IsA (field1 , String ));
716
712
nspname = strVal (field1 );
717
- Assert (IsA (field2 , String ));
718
713
relname = strVal (field2 );
719
714
720
715
/* Locate the referenced nsitem */
@@ -735,7 +730,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
735
730
break ;
736
731
}
737
732
738
- Assert (IsA (field3 , String ));
739
733
colname = strVal (field3 );
740
734
741
735
/* Try to identify as a column of the nsitem */
@@ -764,11 +758,8 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
764
758
Node * field4 = (Node * ) lfourth (cref -> fields );
765
759
char * catname ;
766
760
767
- Assert (IsA (field1 , String ));
768
761
catname = strVal (field1 );
769
- Assert (IsA (field2 , String ));
770
762
nspname = strVal (field2 );
771
- Assert (IsA (field3 , String ));
772
763
relname = strVal (field3 );
773
764
774
765
/*
@@ -798,7 +789,6 @@ transformColumnRef(ParseState *pstate, ColumnRef *cref)
798
789
break ;
799
790
}
800
791
801
- Assert (IsA (field4 , String ));
802
792
colname = strVal (field4 );
803
793
804
794
/* Try to identify as a column of the nsitem */
0 commit comments