Re: Case Insensitive comparison
От
Bruno Wolff III
Тема
Re: Case Insensitive comparison
Дата
Msg-id
20030925132046.GA27357@wolff.to
Ответ на
Re: Case Insensitive comparison (Roberto Mello)
Список
Дерево обсуждения
Case Insensitive comparison "George A.J" <jinujosein@yahoo.com>
Re: Case Insensitive comparison Josh Berkus <josh@agliodbs.com>
Re: Case Insensitive comparison Tom Lane <tgl@sss.pgh.pa.us>
Re: Case Insensitive comparison "George A.J" <jinujosein@yahoo.com>
Re: Case Insensitive comparison Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Case Insensitive comparison Roberto Mello <rmello@cc.usu.edu>
Re: Case Insensitive comparison Bruno Wolff III <bruno@wolff.to>
Re: Case Insensitive comparison Josh Berkus <josh@agliodbs.com>
Re: Case Insensitive comparison Roberto Mello <rmello@cc.usu.edu>
On Wed, Sep 24, 2003 at 23:30:08 -0600, Roberto Mello wrote: > On Wed, Sep 24, 2003 at 08:35:50PM -0700, George A.J wrote: > > > Another problem is in creating function... > > How can i create a function that accept and return any type. the type "any" is not allowing as parameter or return type. Is it possible? i want to create a function similar to NULLIF(). > > Use the standard coalesce(). coalesce is used to do the inverse of nullif. Postgres also has a nullif function. I suspect that he relly doesn't want to use either of those, but instead wants to have some function that returns the same type as its argument without having to write one function for each different type. There is something along those lines coming in 7.4.
В списке pgsql-sql по дате отправления