Re: cast bytea to macaddr - Mailing list pgsql-general

From Boris Zentner
Subject Re: cast bytea to macaddr
Date
Msg-id 93E6A5CA-A94E-4266-8432-AD15FAB56041@2bz.de
Whole thread Raw
In response to Re: cast bytea to macaddr  (Matt Zagrabelny <mzagrabe@d.umn.edu>)
List pgsql-general

Hi Matt,


1. What do the double parenthesis '(( Values .... ))' mean?

Nothing, it was easier to continue typing and close one more on the phone. Single parenthesis are enough.


2. What is the 'x(field)' in the column alias?

X(field) is just to make the example more readable. And name the example table x with the column field to illustrate the main part of the example encode(yourfield, 'hex')::macaddr


pgsql-general by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Right version of jdbc
Next
From: Ron
Date:
Subject: Re: Right version of jdbc