Re: simple web search
| От | chester c young |
|---|---|
| Тема | Re: simple web search |
| Дата | |
| Msg-id | 658860.73789.qm@web54308.mail.yahoo.com обсуждение |
| Ответ на | Re: simple web search (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>) |
| Список | pgsql-sql |
> > create view search_v as select > > 'show'::name as tab_nm, > > show_id as tab_pk, > > 'Show Name' as description, > > show_name as search > > from show > > union select > > 'story'::name, > > story_id, > > 'Story Title', > > title > > from story > > union ... > > > What is that ::name cast for? it's not needed here - sorry. name is the data type pg uses for table names &tc. it's frequently a good idea to cast to name when when messing around in the data dictionary. ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/
В списке pgsql-sql по дате отправления: