|
4 | 4 | * procedural language |
5 | 5 | * |
6 | 6 | * IDENTIFICATION |
7 | | - * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.51 2004/02/25 18:10:51 tgl Exp $ |
| 7 | + * $PostgreSQL: pgsql/src/pl/plpgsql/src/gram.y,v 1.52 2004/03/24 23:38:49 tgl Exp $ |
8 | 8 | * |
9 | 9 | * This software is copyrighted by Jan Wieck - Hamburg. |
10 | 10 | * |
@@ -1660,6 +1660,20 @@ read_sql_construct(int until, |
1660 | 1660 | plpgsql_dstring_append(&ds, buf); |
1661 | 1661 | break; |
1662 | 1662 |
|
| 1663 | +case T_ROW: |
| 1664 | +/* XXX make this work someday*/ |
| 1665 | +ereport(ERROR, |
| 1666 | +(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
| 1667 | +errmsg("passing a whole row variable into a SQL command is not implemented"))); |
| 1668 | +break; |
| 1669 | + |
| 1670 | +case T_RECORD: |
| 1671 | +/* XXX make this work someday*/ |
| 1672 | +ereport(ERROR, |
| 1673 | +(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
| 1674 | +errmsg("passing a whole record variable into a SQL command is not implemented"))); |
| 1675 | +break; |
| 1676 | + |
1663 | 1677 | default: |
1664 | 1678 | plpgsql_dstring_append(&ds, yytext); |
1665 | 1679 | break; |
@@ -1867,6 +1881,20 @@ make_select_stmt(void) |
1867 | 1881 | plpgsql_dstring_append(&ds, buf); |
1868 | 1882 | break; |
1869 | 1883 |
|
| 1884 | +case T_ROW: |
| 1885 | +/* XXX make this work someday*/ |
| 1886 | +ereport(ERROR, |
| 1887 | +(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
| 1888 | +errmsg("passing a whole row variable into a SQL command is not implemented"))); |
| 1889 | +break; |
| 1890 | + |
| 1891 | +case T_RECORD: |
| 1892 | +/* XXX make this work someday*/ |
| 1893 | +ereport(ERROR, |
| 1894 | +(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
| 1895 | +errmsg("passing a whole record variable into a SQL command is not implemented"))); |
| 1896 | +break; |
| 1897 | + |
1870 | 1898 | default: |
1871 | 1899 | plpgsql_dstring_append(&ds, yytext); |
1872 | 1900 | break; |
|