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

Display line numbers in SQL view

From: "Robins Tharakan" <tharakan(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Display line numbers in SQL view
Date: 2008-03-03 18:29:39
Message-ID: 36af4bed0803031029g2cf58815g34b27c3bc50db757@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi,

During constant debugging of triggers / functions in office, I see the need
to copy paste a specific SQL string and run it in the SQL view to trace a
bug on a given nth line. The problem being that the SQL view doesn't have
line numbers in the margin like the Create function SQL tab.

This patch adds line numbers to the SQL view as well.

(This patch just enables the line-numbers in the margin, in case its
desirable to have a checkbox that allows the user to enable/disable this, we
could have a menu option for that in the View menu. Should we ?)

Regards.
*Robins Tharakan*

Attachment: line_numbers_in_sql_view.patch
Description: text/x-patch (611 bytes)

Responses

pgadmin-hackers by date

Next:From: svnDate: 2008-03-03 20:04:39
Subject: SVN Commit by dpage: r7109 - in trunk/pgadmin3: . branding pgadmin pgadmin/agent pgadmin/ctl pgadmin/db pgadmin/debugger pgadmin/dlg pgadmin/frm pgadmin/include/agent pgadmin/include/ctl pgadmin/include/db pgadmin/include/debugger pgadmin/include/dlg pgadmin/include/frm pgadmin/include/images pgadmin/include/schema pgadmin/include/slony pgadmin/include/utils pgadmin/schema pgadmin/slony pgadmin/utils pkg/win32/src plugins
Previous:From: Robins TharakanDate: 2008-03-03 18:07:08
Subject: Re: Query Builder in pgAdmin for GSoC 2008

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