SQL Normalization Thought - Mailing list pgsql-general

From David Johnston
Subject SQL Normalization Thought
Date
Msg-id 88AB61BC-ABBF-4FA4-A7A6-A1EAE985F5AF@yahoo.com
Whole thread Raw
Responses Re: SQL Normalization Thought
List pgsql-general
I know there is currently work ongoing regarding normalizing SQL statements for logging purposes but has anyone
consideredgiven us the ability to name our statements. 

SELECT ....
FROM ...
WHERE ....
NAMEAS 'Name to track by'

If a query lacks a name the algorithm generated normalized form would be used instead but otherwise all queries with
thesame name would be treated as being the same for statistics purposes. 

I'm sure there is more to it but the idea of letting the user name their queries, and thus have something to actually
linkthe logs and the source code directly, has merit and at the least provides a workaround to an algorithmic routine. 

David J.

pgsql-general by date:

Previous
From: Martin Gregorie
Date:
Subject: Re: Complex transactions without using plPgSQL Functions. It is possible?
Next
From:
Date:
Subject: Re: ERROR: could not find tuple for trigger 37463634