Re: [HACKERS] Creating unique or "internal-use-only" column names (ColumnRef)

2015-09-08 Thread Peter Moser
Am 07.09.2015 um 16:40 schrieb Tom Lane: Andrew Dunstan writes: On 09/07/2015 09:28 AM, Alvaro Herrera wrote: This seems pretty much the same as a junk attribute, if I understand you correctly. I suggest given a look at how those work. Is that actually documented

[HACKERS] Creating unique or "internal-use-only" column names (ColumnRef)

2015-09-07 Thread Peter Moser
Good afternoon, is it possible to create unique column names or to give column names inside the parser phase that do not interfer with the outside world, i.e. with column names from tables or aliases given by the user. Some short background: I created my own from-clause-item, that gets

Re: [HACKERS] Creating unique or "internal-use-only" column names (ColumnRef)

2015-09-07 Thread Tom Lane
Andrew Dunstan writes: > On 09/07/2015 09:28 AM, Alvaro Herrera wrote: >> This seems pretty much the same as a junk attribute, if I understand you >> correctly. I suggest given a look at how those work. > Is that actually documented anywhere much? I don't think there's

Re: [HACKERS] Creating unique or "internal-use-only" column names (ColumnRef)

2015-09-07 Thread Andrew Dunstan
On 09/07/2015 09:28 AM, Alvaro Herrera wrote: Peter Moser wrote: Good afternoon, is it possible to create unique column names or to give column names inside the parser phase that do not interfer with the outside world, i.e. with column names from tables or aliases given by the user. Some

Re: [HACKERS] Creating unique or "internal-use-only" column names (ColumnRef)

2015-09-07 Thread Alvaro Herrera
Peter Moser wrote: > Good afternoon, > is it possible to create unique column names or to give column names inside > the parser phase that do not interfer with the outside world, i.e. with > column names from tables or aliases given by the user. > > Some short background: > I created my own