Skip site navigation (1) Skip section navigation (2)

Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)
Date: 2000-03-07 15:47:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> > format_type(name[, int4]) that formats an internal type and any size
> > modifier for client consumption, like
> >       format_type('varchar', 8)     => "CHARACTER VARYING(8)"
> >       format_type('my type')        => "\"my type\""
> >       format_type('numeric', {xxx}) => "NUMERIC(9,2)"

Ooh, that *is* a good idea (though the exact name of the function may
evolve)! Sorry I missed seeing it in Peter's earlier postings.

Funny how we can go for years banging our heads on an issue and have
something like this (ie a good idea on the subject) pop up out of the

Presumably we would include a function taking the conversion the other
direction too...

                     - Thomas

Thomas Lockhart				lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to


pgsql-hackers by date

Next:From: Andrzej MazurkiewiczDate: 2000-03-07 16:14:30
Subject: How can I create trigger on system table, for on example pg_class ???
Previous:From: Michael MeskesDate: 2000-03-07 15:09:39
Subject: ECPG restructuring

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group