On Thu, 2006-03-23 at 16:41 -0800, Joshua D. Drake wrote: > >>>> Now it gives a error that type double does not exist. > >>> CREATE DOMAIN double AS float8; > >>> > >>> There, now the type exists ;) > >> That's a little too perl for me ;) > > > > I suppose it depends on the goal. If it is an application that is to be > > supported on more than one database, defining types and other things for > > a given DB type (PostgreSQL) is easier than injecting a large number of > > SWITCH statements into the code. > \ > > Why in the world would you build an application for anything except > PostgreSQL?
To prove that, as unbelievable as it sounds, it is possible to do such a thing? Don't worry, such a thing would not get into a production environment. -- ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org