Re: Counts and percentages and such

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Counts and percentages and such
Date: 2009-12-08 23:44:15
Message-ID: dcc563d10912081544g17e2d7f5r28498a31b3a89a6e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 8, 2009 at 3:09 PM, Thomas Kellerer <spam_eater(at)gmx(dot)net> wrote:
> jackassplus wrote on 08.12.2009 22:21:
>>
>> What does ::numeric signify?
>> I'm using the jdbc driver from http://jdbc.postgresql.org/ in SQuirreL
>> and it asks me for the value of :numeric.
>
> As Scott has pointed out this is a typecast.
> If Squirrel mistakes that for a parameter, it's clearly a bug in Squirrel.
> But maybe that prompting for parameters can be turned off somewhere (I don't
> use Squirrel, so I cannot tell)

My experience with Squirrel was that it worked fine for very simple
queries, and as soon as you got outside the box it started doing the
stuff the OP is seeing. For postgresql the preferred GUI is pgadmin
III, but psql is the best text only interface for a db on the planet.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message jackassplus 2009-12-09 00:19:10 Re: Counts and percentages and such
Previous Message Thomas Kellerer 2009-12-08 22:09:20 Re: Counts and percentages and such