Re: [INTERFACES] [pgaccess-users] RE: [HACKERS]bugzilla.pgaccess.org

2002-07-11 Thread Zeugswetter Andreas SB SD
> > > > Changing data types probably won't appear. I don't know of anyone > > > > working on it -- and it can be quite a complex issue to get a good > > > > (resource friendly and transaction safe) version. > > > > > > I'd be happy with a non-resource friendly and non-transaction-safe version > >

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
On Wed, 10 Jul 2002, Tom Lane wrote: > Bradley Baetz <[EMAIL PROTECTED]> writes: > > I'm referring to the mysql |timestamp| type, which will update that > > column's contents to |now()| when any UPDATE is given for that partcular > > row, unless the column was assigned to. I don't know how to han

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Tom Lane
Bradley Baetz <[EMAIL PROTECTED]> writes: > I'm referring to the mysql |timestamp| type, which will update that > column's contents to |now()| when any UPDATE is given for that partcular > row, unless the column was assigned to. I don't know how to handle the > last part in a trigger. It'd probab

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS]bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
On Thu, 11 Jul 2002, Christopher Kings-Lynne wrote: > Of course, you might have thought about the correct column types in advance, > but hey :) I think that there's no way to have a rollback-able column type > change without temporarily doubling space. Actually, I think Oracle has > some sort o

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
On 10 Jul 2002, Rod Taylor wrote: > enum(A,B,C) -> column char(1) check (column IN ('A', 'B', 'C')) right. > > timestamp? Output pattern may be different, but PostgreSQL 7.3 will > accept any timestamp I've thrown at it. Lots of weird and wonderful > forms. I'm referring to the mysql |times

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS]bugzilla.pgaccess.org

2002-07-10 Thread Christopher Kings-Lynne
> > > Changing data types probably won't appear. I don't know of anyone > > > working on it -- and it can be quite a complex issue to get a good > > > (resource friendly and transaction safe) version. > > > > I'd be happy with a non-resource friendly and > non-transaction-safe version > > over not

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Christopher Kings-Lynne
> > Note that before bugzilla really supports postgresql, we (ie > the bugzilla > > team) are going to need DROP COLUMN support, as well as support for > > changing a field's type. This is because thats how upgrades are > done, when > > new features change the bz schema. > > DROP COLUMNS should be

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bruce Momjian
Bradley Baetz wrote: > > > Note that before bugzilla really supports postgresql, we (ie the bugzilla > team) are going to need DROP COLUMN support, as well as support for > changing a field's type. This is because thats how upgrades are done, when > new features change the bz schema. DROP COLUM

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
On 10 Jul 2002, Rod Taylor wrote: > > However, is there an easy way of obtaining the list of columns (and their > > types/indexes/etc) in a table, so that we can recreate table a with just > > that column missing? One which won't break when the underlying pg_* schema > > changes? > > I see. No

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
On 10 Jul 2002, Rod Taylor wrote: > On Wed, 2002-07-10 at 19:44, Bradley Baetz wrote: > > > > > > Note that before bugzilla really supports postgresql, we (ie the bugzilla > > team) are going to need DROP COLUMN support, as well as support for > > changing a field's type. This is because thats

Re: [INTERFACES] [pgaccess-users] RE: [HACKERS] bugzilla.pgaccess.org

2002-07-10 Thread Bradley Baetz
Note that before bugzilla really supports postgresql, we (ie the bugzilla team) are going to need DROP COLUMN support, as well as support for changing a field's type. This is because thats how upgrades are done, when new features change the bz schema. See http://lxr.mozilla.org/mozilla/source/