[freeside] dbdef-create for postgres??

ivan ivan at 420.am
Fri May 19 10:21:21 PDT 2000


On Fri, May 19, 2000 at 04:10:11PM +0000, Mark Dzmura wrote:
> > > Alternatively, if somebody could send me some output from the mysql
> > >
> > >     "show tables"
> > >     "show index from ..."
> > >     "show columns from ..."
> > >
> > > I could probably wing it with this info...
> >
> > I don't think you want to use the output from someone else's database,
> > espeically a different database engine.
> 
> The reason for mysql output was to see the structure of the data
> returned from those commands, so I could write code to get the
> information from postgres and put it in the desired structure - to
> "drop in" to dbdef.

Yes, that would be useful.

>  I can do SELECTs on system tables in Postgres to
> get the same information, but it almost certainly won't be in the same
> format as mysql returns from SHOW commands...

Whew, good thing we have a programming language to format it correctly.
:)

-- 
meow
_ivan



More information about the freeside-users mailing list