Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Vladimir Kokovic
Hi, I added a new 'psql' ECHO='queriesonlynoexec' on my local machine, which enables to view multi-statement-query as a list of queries. I think with this, pgadmin can execute and display each query in a separate tab ! Example: /home/src/postgresql-devel/build/src/bin/psql/psql --port 5432

Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Guillaume Lelarge
Hi, On Sat, 2011-10-08 at 11:28 +0200, Vladimir Kokovic wrote: [...] I added a new 'psql' ECHO='queriesonlynoexec' on my local machine, which enables to view multi-statement-query as a list of queries. I think with this, pgadmin can execute and display each query in a separate tab ! I

Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Vladimir Kokovic
Hi, When it comes to PQsendQuery and multi-statement-query, it is necessary to know which is the current query, without a scanner/parser that's not easy ! Best regards, Vladimir Kokovic, DP senior, Belgrade, Serbia On 10/8/11, Guillaume Lelarge guilla...@lelarge.info wrote: Hi, On Sat,

Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Guillaume Lelarge
On Sat, 2011-10-08 at 20:25 +0200, Vladimir Kokovic wrote: Hi, When it comes to PQsendQuery and multi-statement-query, it is necessary to know which is the current query, without a scanner/parser that's not easy ! Necessary, no. The results are in the order of the queries. I mean first

Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Guillaume Lelarge
On Sat, 2011-10-08 at 22:27 +0200, Vladimir Kokovic wrote: Hi, So you think to put in the tab info '13. query of 20 ' instead of query text ? I don't get what you mean. If you're talking about tabs' titles, I gues they would Results #1 for first query, Results #2 for second query, etc.

Re: [pgadmin-hackers] [pgAdmin III] #340: Allow the display of the results of more than one query

2011-10-08 Thread Vladimir Kokovic
Hi, So you think to put in the tab info '13. query of 20 ' instead of query text ? Best regards, Vladimir Kokovic, DP senior, Belgrade, Serbia On 10/8/11, Guillaume Lelarge guilla...@lelarge.info wrote: On Sat, 2011-10-08 at 20:25 +0200, Vladimir Kokovic wrote: Hi, When it comes to