Date: Fri, 24 Sep 2010 08:01:35 -0400
Subject: Re: [HACKERS] Name column
From: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

On Fri, Sep 24, 2010 at 6:35 AM, Heikki Linnakangas
wrote:
For historical reasons PostgreSQL supports calling a function with a single
argument like "column.function", in addition to "function(column)". There is
a function "name(text)" that casts the input to the 'name' datatype, so your
example casts the row to text and from text to name.
I'm starting to wonder if we should think about deprecating this
behavior. It is awfully confusing and unintuitive.
I agree, it is very unintuitive.
+1 for deprecating this behavior.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 12 | next ›
Discussion Overview
grouppgsql-hackers @
categoriespostgresql
postedSep 24, '10 at 10:28a
activeSep 24, '10 at 4:17p
posts12
users6
websitepostgresql.org...
irc#postgresql

People

Translate

site design / logo © 2023 Grokbase