From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Zlatko Mati? <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: varchar to text |
Date: | 2005-10-02 12:43:49 |
Message-ID: | 20051002124344.GD30492@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Oct 02, 2005 at 11:37:10AM +0200, Zlatko Mati? wrote:
> There are some columns in my tables that I should change from varchar to text, in order to have enough space for long textual commentaries.
> Before I do that, I would like to know is there any restriction regarding text type in comparison to varchar type?
> Especially concerning triggers and rules ?
> Namely, I have triggers that perform audit trail of all my tables, so I'm concerned whether it will work for text type fields ?
The varchar type is text plus restrictions. So no, switching to text
lets you do more, not less...
> One additional question is regarding my MS Access front-end. Would it be a problem for Access ?
The ODBC driver has something like "map text to memo". Make sure that's
off, otherwise access won't let you do comparisons on it.
Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | William ZHANG | 2005-10-02 12:48:02 | Re: 8.1 'make check' fails |
Previous Message | Martijn van Oosterhout | 2005-10-02 12:39:51 | Re: scoring differences between bitmasks |