Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Why does text search need a tsquery data type? I realize it needs > > tsvector so it can create indexes and updated trigger columns, but it > > seems tsquery could instead just be a simple text string. > > By that logic, we don't need any data types other than text.
What is tsquery giving us that text would not? -- Bruce Momjian <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate