vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm having trouble with types and domains. I can create a type, but then when I try to create constraints using the components of the type, I get syntax errors. I've read through the pdf several times, to no avail. Things like (value).component, component(value), value::component, for example, all generate errors. __________________________________________________ __________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate |
| ||||
| Andrew Winkler <the_andrew_winkler@yahoo.com> writes: > I'm having trouble with types and domains. I can create a type, but then when I try to create constraints > using the components of the type, I get syntax errors. I've read through the pdf several times, to no avail. > Things like (value).component, component(value), value::component, for example, all generate errors. This is nearly content-free :-(. Show us exactly what commands you tried and what errors you got. (Cut and paste from a terminal window is good.) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend |