[postgis-devel] Typmod Again

Tom Lane tgl at sss.pgh.pa.us
Wed Jul 22 17:28:43 PDT 2009


Paul Ramsey <pramsey at cleverelephant.ca> writes:
> Unless this cast I am seeing for things like varbit is the trick?

Yeah, you want to create a "length" enforcing cast function.  The
commentary in the CREATE CAST man page might help you.

			regards, tom lane



More information about the postgis-devel mailing list