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

Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lynch(at)lscorp(dot)com (Richard Lynch)
Cc: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!
Date: 1998-07-25 00:18:43
Message-ID: 199807250018.UAA02089@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-interfaces
> I especially hate that it doesn't even say "this part is bogus" sometimes.
> It says "error near 'from'".  *WHICH* from.  I could easily have 3 or 4 in
> even the simplest query.  And god forbid it says "error near ','".  How
> useless is that?!
> 
> Okay, enough bitching, I'll be positive:
> psql would be infinitely nicer if it dumped out the query and indicated the
> EXACT location of the problem.
> 

New 6.4 psql help will show:
	
	test=> \h select
	Command: select
	Description: retrieve tuples
	Syntax:
	SELECT [DISTINCT [ON attrN]] expr1 [AS attr1], ...exprN
	        [INTO [TABLE] class_name]
	        [FROM from_list]
	        [WHERE qual]
	        [GROUP BY group_list]
	        [HAVING having_clause]
	        [ORDER BY attr1 [ASC|DESC] [USING op1], ...attrN ]
	        [UNION [ALL] SELECT ...];
	

Removed <> around user-supplied values, and uppercase the reserved words
to make things clear.  I don't think there is a need to do this on the
manual pages because we have bolding.  Comments?


-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-07-25 01:00:42
Subject: Re: [HACKERS] Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!
Previous:From: Richard LynchDate: 1998-07-24 22:52:43
Subject: Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 1998-07-25 01:00:42
Subject: Re: [HACKERS] Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!
Previous:From: Bruce MomjianDate: 1998-07-24 23:58:02
Subject: Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!

pgsql-general by date

Next:From: Bruce MomjianDate: 1998-07-25 01:00:42
Subject: Re: [HACKERS] Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!
Previous:From: Bruce MomjianDate: 1998-07-24 23:58:02
Subject: Re: [GENERAL] Re: [INTERFACES] ODBC Driver -- Access Order By problem solved!!!

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