Re: Debugging SQL queries

From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: "Douglas McNaught" <doug(at)mcnaught(dot)org>
Cc: "Anastasios Hatzis" <ahatzis(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Debugging SQL queries
Date: 2006-05-11 13:08:09
Message-ID: e431ff4c0605110608w6041cfcbrc51656e49d9f5a52@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-general

From my point of view, more important problem is that log doesn't help
to find the query (in other words, log message doesn't show context)

On 5/11/06, Douglas McNaught <doug(at)mcnaught(dot)org> wrote:
> Anastasios Hatzis <ahatzis(at)gmx(dot)net> writes:
>
> > My problem is that I don't know where the given character number is
> > inside the query/file. I can search in my code editors (e.g. those of
> > Eclipse IDE) for line number + character number in given line
> > number... but I can not search for an overall character
> > number.
>
> Emacs has the "goto-char" function and runs on Windows, so you could
> use that (there are probably other editors with this feature as
> well)..
>
> -Doug
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

--
Best regards,
Nikolay

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message chris smith 2006-05-11 13:14:58 Re: Debugging SQL queries
Previous Message Anastasios Hatzis 2006-05-11 11:07:38 Re: Debugging SQL queries

Browse pgsql-general by date

  From Date Subject
Next Message chris smith 2006-05-11 13:14:58 Re: Debugging SQL queries
Previous Message Berend Tober 2006-05-11 12:45:48 Re: Feature-Request: Login-Procedure