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

Re: pgMigrate

From: "Brett Maton" <matonb(at)hotmail(dot)com>
To: dpage(at)vale-housing(dot)co(dot)uk
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgMigrate
Date: 2002-01-14 17:23:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Hi Dave,

  Found it !

  I've been playing around with the views stuff this afternoon and this is 
what I found out:

  There is a View object in the catalog catLocal which can be accessed like 

  Dim viewTemp As View
  For Each viewTemp In catLocal.Views
    szString = viewTemp.Command.CommandText()
    app.LogEvent "SQL : '" & szString & "'\n\n"

and ya get something like this:

'SELECT myTable.myField1, myTable.myField2, myTable.myField3, etc etc FROM 
WHERE (((MyTable.Fieldn)="whatever"));

Hope this helps with the view stuff,  (starting to get the hang of VB :>)

Regards, Brett

Send and receive Hotmail on your mobile device:

pgadmin-hackers by date

Next:From: Dave PageDate: 2002-01-15 08:52:48
Subject: Re: pgMigrate
Previous:From: Brett MatonDate: 2002-01-14 15:03:15
Subject: Re: pgMigrate

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