[HACKERS] how to use composite type

2002-12-26 Thread bigapple
hi, I created a composite type as follows, but I couldn't know how to use it. test=# create type test_type as (id int, name char(20)); CREATE TYPE test=# create table student( a test_type); ERROR: Attribute "a" has composite type test_type who can tell me? thanks!

[HACKERS] bison error

2002-12-08 Thread bigapple
hi, When I check out the pgsql from cvs and I complile it, an error occured . dir: pgsql/src/interfaces/ecpg/preproc bison -y -d preproc.y erro information: preproc.y:5559: fatal error: maximum table size (32767) exceeded. However, I used the source from the ftp, find preproc.c in there. gma