Thread: any psql static binary for iphone ?

any psql static binary for iphone ?

From
Oleg Bartunov
Date:
Hi there,

is there psql static binary, which I can use on my iphone (version 1) ?
I have no mac available, so I can't compile it myself. I heard about
gui tool for iphone, but it's not free and is only available from 
apple store, which I have no access.
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


Re: any psql static binary for iphone ?

From
Peter Eisentraut
Date:
Am Sunday, 17. August 2008 schrieb Oleg Bartunov:
> is there psql static binary, which I can use on my iphone (version 1) ?

I have no idea, but just as a thought, using phpPgAdmin might be a good 
workaround.


Re: any psql static binary for iphone ?

From
Hans-Juergen Schoenig
Date:
Peter Eisentraut wrote:
> Am Sunday, 17. August 2008 schrieb Oleg Bartunov:
>   
>> is there psql static binary, which I can use on my iphone (version 1) ?
>>     
>
> I have no idea, but just as a thought, using phpPgAdmin might be a good 
> workaround.
>
>   

postgres seems to compile nicely on the iphone.
compilations stops at gram.c however :) the file is just too big to 
compile on 96MB of RAM :).
first the screen turns to black and  then it reboots.
so far i have not seen how i can add a swap file to the iphone and i was 
too lazy to cross compile *g*.
but until gram.c - no warning; no errors *g*.
   regards,
      hans

-- 
Cybertec Schönig & Schönig GmbH
PostgreSQL Solutions and Support
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Tel: +43/1/205 10 35 / 340
www.postgresql-support.de, www.postgresql-support.com



Re: any psql static binary for iphone ?

From
Gregory Stark
Date:
I haven't looked at it but there's this:

http://www.postgresql.org/about/news.988

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about
EnterpriseDB'sPostgreSQL training!
 


Re: any psql static binary for iphone ?

From
Oleg Bartunov
Date:
On Mon, 18 Aug 2008, Gregory Stark wrote:

>
> I haven't looked at it but there's this:
>
> http://www.postgresql.org/about/news.988

Yes, I know it. But, it's not free and one should use iTunes program
to buy it from AppStore.
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


Re: any psql static binary for iphone ?

From
"Merlin Moncure"
Date:
On Mon, Aug 18, 2008 at 4:02 AM, Hans-Juergen Schoenig
<postgres@cybertec.at> wrote:
> Peter Eisentraut wrote:
>>
>> Am Sunday, 17. August 2008 schrieb Oleg Bartunov:
>>
>>>
>>> is there psql static binary, which I can use on my iphone (version 1) ?
>>>
>>
>> I have no idea, but just as a thought, using phpPgAdmin might be a good
>> workaround.
>>
>>
>
> postgres seems to compile nicely on the iphone.
> compilations stops at gram.c however :) the file is just too big to compile
> on 96MB of RAM :).
> first the screen turns to black and  then it reboots.
> so far i have not seen how i can add a swap file to the iphone and i was too
> lazy to cross compile *g*.
> but until gram.c - no warning; no errors *g*.

iirc you don't have to compile gram.c for psql?

merlin


Re: any psql static binary for iphone ?

From
Hans-Juergen Schoenig
Date:
postgres seems to compile nicely on the iphone.
>> compilations stops at gram.c however :) the file is just too big to compile
>> on 96MB of RAM :).
>> first the screen turns to black and  then it reboots.
>> so far i have not seen how i can add a swap file to the iphone and i was too
>> lazy to cross compile *g*.
>> but until gram.c - no warning; no errors *g*.
>>     
>
> iirc you don't have to compile gram.c for psql?
>
> merlin
>   

no, not for psql ...
i wanted to give pgbench a try.
just plain curiosity.
   hans

-- 
Cybertec Schönig & Schönig GmbH
PostgreSQL Solutions and Support
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Tel: +43/1/205 10 35 / 340
www.postgresql-support.de, www.postgresql-support.com



Re: any psql static binary for iphone ?

From
"Merlin Moncure"
Date:
On Mon, Aug 18, 2008 at 9:16 AM, Hans-Juergen Schoenig <postgres@cybertec.at>
>>> compilations stops at gram.c however :) the file is just too big to
>>> compile
>>> on 96MB of RAM :).
>>> first the screen turns to black and  then it reboots.
>>> so far i have not seen how i can add a swap file to the iphone and i was
>>> too
>>> lazy to cross compile *g*.
>>> but until gram.c - no warning; no errors *g*.
>>>
>>
>> iirc you don't have to compile gram.c for psql?
>>
>
> no, not for psql ...
> i wanted to give pgbench a try.
> just plain curiosity.


you of all people should know what to do next :-)

http://osdir.com/ml/db.postgresql.advocacy/2004-03/msg00018.html

merlin


Re: any psql static binary for iphone ?

From
Robert Treat
Date:
On Monday 18 August 2008 03:47:06 Peter Eisentraut wrote:
> Am Sunday, 17. August 2008 schrieb Oleg Bartunov:
> > is there psql static binary, which I can use on my iphone (version 1) ?
>
> I have no idea, but just as a thought, using phpPgAdmin might be a good
> workaround.

I've played with this a little and it works ok, though navigating the tree is 
a little tricky.  I think it might be better to disable the tree bits all 
together (you can navigate within the main window as well), but I've not 
spent that much time on it. Note, if anyone wants to donate a iphone to the 
phppgadmin project, I'd be happy to spend some time making this work 
better.  :-)

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL