pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
need some magic with generate_series()
8+ messages / 4 participants
[nested] [flat]

* need some magic with generate_series()
@ 2013-01-22 21:41  Andreas <maps.on@gmx.net>
  0 siblings, 1 reply; 8+ messages in thread

From: Andreas @ 2013-01-22 21:41 UTC (permalink / raw)
  To: pgsql-sql

Hi
I need a series of month numbers like  201212, 201301 YYYYMM to join 
other sources against it.

I've got a table that describes projects:
projects ( id INT, project TEXT, startdate DATE )

and some others that log events
events( project_id INT, createdate DATE, ...)

to show some statistics I have to count events and present it as a view 
with the project name and the month as YYYYMM starting with startdate of 
the projects.

My problem is that there probaply arent any events in a month but I 
still need this line in the output.
So somehow I need to have a select that generates:

project 7,201211
project 7,201212
project 7,201301

It'd be utterly cool to get this for every project in the projects table 
with one select.

Is there hope?


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: need some magic with generate_series()
@ 2013-01-22 21:49  jan zimmek <jan.zimmek@web.de>
  parent: Andreas <maps.on@gmx.net>
  0 siblings, 1 reply; 8+ messages in thread

From: jan zimmek @ 2013-01-22 21:49 UTC (permalink / raw)
  To: Andreas <maps.on@gmx.net>; +Cc: pgsql-sql

hi andreas,

this might give you an idea how to generate series of dates (or other datatypes):

select g, (current_date + (g||' month')::interval)::date from generate_series(1,12) g;

regards
jan

Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:

> Hi
> I need a series of month numbers like  201212, 201301 YYYYMM to join other sources against it.
> 
> I've got a table that describes projects:
> projects ( id INT, project TEXT, startdate DATE )
> 
> and some others that log events
> events( project_id INT, createdate DATE, ...)
> 
> to show some statistics I have to count events and present it as a view with the project name and the month as YYYYMM starting with startdate of the projects.
> 
> My problem is that there probaply arent any events in a month but I still need this line in the output.
> So somehow I need to have a select that generates:
> 
> project 7,201211
> project 7,201212
> project 7,201301
> 
> It'd be utterly cool to get this for every project in the projects table with one select.
> 
> Is there hope?
> 
> 
> -- 
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: need some magic with generate_series()
@ 2013-01-22 21:52  Filip Rembiałkowski <plk.zuber@gmail.com>
  parent: jan zimmek <jan.zimmek@web.de>
  0 siblings, 1 reply; 8+ messages in thread

From: Filip Rembiałkowski @ 2013-01-22 21:52 UTC (permalink / raw)
  To: jan zimmek <jan.zimmek@web.de>; +Cc: Andreas <maps.on@gmx.net>; pgsql-sql

or even

select m from generate_series( '20121101'::date, '20130101'::date, '1
month'::interval) m;



On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
> hi andreas,
>
> this might give you an idea how to generate series of dates (or other datatypes):
>
> select g, (current_date + (g||' month')::interval)::date from generate_series(1,12) g;
>
> regards
> jan
>
> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
>
>> Hi
>> I need a series of month numbers like  201212, 201301 YYYYMM to join other sources against it.
>>
>> I've got a table that describes projects:
>> projects ( id INT, project TEXT, startdate DATE )
>>
>> and some others that log events
>> events( project_id INT, createdate DATE, ...)
>>
>> to show some statistics I have to count events and present it as a view with the project name and the month as YYYYMM starting with startdate of the projects.
>>
>> My problem is that there probaply arent any events in a month but I still need this line in the output.
>> So somehow I need to have a select that generates:
>>
>> project 7,201211
>> project 7,201212
>> project 7,201301
>>
>> It'd be utterly cool to get this for every project in the projects table with one select.
>>
>> Is there hope?
>>
>>
>> --
>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-sql
>
>
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: need some magic with generate_series()
@ 2013-01-22 22:49  Andreas <maps.on@gmx.net>
  parent: Filip Rembiałkowski <plk.zuber@gmail.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Andreas @ 2013-01-22 22:49 UTC (permalink / raw)
  To: Filip Rembiałkowski <plk.zuber@gmail.com>; +Cc: jan zimmek <jan.zimmek@web.de>; pgsql-sql

Thanks Filip,
with your help I came a step further.   :)

Could I do the folowing without using a function?


CREATE OR REPLACE FUNCTION month_series ( date )
   RETURNS table ( monthnr integer )
AS
$BODY$

     select  to_char ( m, 'YYYYMM' )::integer
     from    generate_series ( $1, current_date, '1 month'::interval )   
as  m

$BODY$ LANGUAGE sql STABLE;


select  project_id, month_series ( createdate )
from    projects
order by 1, 2;



Am 22.01.2013 22:52, schrieb Filip Rembiałkowski:
> or even
>
> select m from generate_series( '20121101'::date, '20130101'::date, '1
> month'::interval) m;
>
>
>
> On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
>> hi andreas,
>>
>> this might give you an idea how to generate series of dates (or other datatypes):
>>
>> select g, (current_date + (g||' month')::interval)::date from generate_series(1,12) g;
>>
>> regards
>> jan
>>
>> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
>>
>>> Hi
>>> I need a series of month numbers like  201212, 201301 YYYYMM to join other sources against it.
>>>
>>> I've got a table that describes projects:
>>> projects ( id INT, project TEXT, startdate DATE )
>>>
>>> and some others that log events
>>> events( project_id INT, createdate DATE, ...)
>>>
>>> to show some statistics I have to count events and present it as a view with the project name and the month as YYYYMM starting with startdate of the projects.
>>>
>>> My problem is that there probaply arent any events in a month but I still need this line in the output.
>>> So somehow I need to have a select that generates:
>>>
>>> project 7,201211
>>> project 7,201212
>>> project 7,201301
>>>
>>> It'd be utterly cool to get this for every project in the projects table with one select.
>>>
>>> Is there hope?
>>>
>>>
>>> --
>>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-sql
>>
>>
>> --
>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-sql



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

*  Re: [SQL] need some magic with generate_series()
@ 2013-01-23 00:08  =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>
  0 siblings, 2 replies; 8+ messages in thread

From: Alexander Gataric @ 2013-01-23 00:08 UTC (permalink / raw)
  To: Andreas <maps.on@gmx.net>; Filip Rembiałkowski <plk.zuber@gmail.com>; +Cc: jan zimmek <jan.zimmek@web.de>; pgsql-sql

I would create a common table expression with the series from Filip and left join to the table you need to report on.

Sent from my smartphone

----- Reply message -----
From: "Andreas" <maps.on@gmx.net>
To: "Filip Rembiałkowski" <plk.zuber@gmail.com>
Cc: "jan zimmek" <jan.zimmek@web.de>, <pgsql-sql@postgresql.org>
Subject: [SQL] need some magic with generate_series()
Date: Tue, Jan 22, 2013 4:49 pm


Thanks Filip,
with your help I came a step further.   :)

Could I do the folowing without using a function?


CREATE OR REPLACE FUNCTION month_series ( date )
  RETURNS table ( monthnr integer )
AS
$BODY$

    select  to_char ( m, 'YYYYMM' )::integer
    from    generate_series ( $1, current_date, '1 month'::interval )   as  m

$BODY$ LANGUAGE sql STABLE;


select  project_id, month_series ( createdate )
from    projects
order by 1, 2;



Am 22.01.2013 22:52, schrieb Filip Rembiałkowski:
> or even
>
> select m from generate_series( '20121101'::date, '20130101'::date, '1
> month'::interval) m;
>
>
>
> On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
>> hi andreas,
>>
>> this might give you an idea how to generate series of dates (or other datatypes):
>>
>> select g, (current_date + (g||' month')::interval)::date from generate_series(1,12) g;
>>
>> regards
>> jan
>>
>> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
>>
>>> Hi
>>> I need a series of month numbers like  201212, 201301 YYYYMM to join other sources against it.
>>>
>>> I've got a table that describes projects:
>>> projects ( id INT, project TEXT, startdate DATE )
>>>
>>> and some others that log events
>>> events( project_id INT, createdate DATE, ...)
>>>
>>> to show some statistics I have to count events and present it as a view with the project name and the month as YYYYMM starting with startdate of the projects.
>>>
>>> My problem is that there probaply arent any events in a month but I still need this line in the output.
>>> So somehow I need to have a select that generates:
>>>
>>> project 7,201211
>>> project 7,201212
>>> project 7,201301
>>>
>>> It'd be utterly cool to get this for every project in the projects table with one select.
>>>
>>> Is there hope?
>>>
>>>
>>> --
>>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
>>> To make changes to your subscription:
>>> http://www.postgresql.org/mailpref/pgsql-sql
>>
>>
>> --
>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-sql



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql


^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: need some magic with generate_series()
@ 2013-01-23 01:00  Andreas <maps.on@gmx.net>
  parent: =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>
  1 sibling, 0 replies; 8+ messages in thread

From: Andreas @ 2013-01-23 01:00 UTC (permalink / raw)
  To: Alexander Gataric <gataric@usa.net>; +Cc: Filip Rembiałkowski <plk.zuber@gmail.com>; jan zimmek <jan.zimmek@web.de>; pgsql-sql

The query should work for all projects in the projects table where 
everyone has a seperate startdate for the series.
For the join I need ( project_id, month_nr ).

When I tried I couldn't figure out how to feed the startdate into 
Filip's expression without using the function to encapsulate the 
generate_series().
The folowing doesn't work:

select  project_id,
           (    select  to_char ( m, 'YYYYMM' )::integer
                from    generate_series ( projects.createdate, 
current_date, '1 month'::interval )   as  m
          )
from    projects
order by 1, 2;



Am 23.01.2013 01:08, schrieb Alexander Gataric:
> I would create a common table expression with the series from Filip 
> and left join to the table you need to report on.
>
> ----- Reply message -----
> From: "Andreas" <maps.on@gmx.net>
> To: "Filip Rembiałkowski" <plk.zuber@gmail.com>
> Cc: "jan zimmek" <jan.zimmek@web.de>, <pgsql-sql@postgresql.org>
> Subject: [SQL] need some magic with generate_series()
> Date: Tue, Jan 22, 2013 4:49 pm
>
>
> Thanks Filip,
> with your help I came a step further.   :)
>
> Could I do the folowing without using a function?
>
>
> CREATE OR REPLACE FUNCTION month_series ( date )
>  RETURNS table ( monthnr integer )
> AS
> $BODY$
>
>    select  to_char ( m, 'YYYYMM' )::integer
>    from    generate_series ( $1, current_date, '1 month'::interval )   
> as  m
>
> $BODY$ LANGUAGE sql STABLE;
>
>
> select  project_id, month_series ( createdate )
> from    projects
> order by 1, 2;
>
>
>
> Am 22.01.2013 22:52, schrieb Filip Rembiałkowski:
> > or even
> >
> > select m from generate_series( '20121101'::date, '20130101'::date, '1
> > month'::interval) m;
> >
> >
> >
> > On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
> >> hi andreas,
> >>
> >> this might give you an idea how to generate series of dates (or 
> other datatypes):
> >>
> >> select g, (current_date + (g||' month')::interval)::date from 
> generate_series(1,12) g;
> >>
> >> regards
> >> jan
> >>
> >> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
> >>
> >>> Hi
> >>> I need a series of month numbers like  201212, 201301 YYYYMM to 
> join other sources against it.
> >>>
> >>> I've got a table that describes projects:
> >>> projects ( id INT, project TEXT, startdate DATE )
> >>>
> >>> and some others that log events
> >>> events( project_id INT, createdate DATE, ...)
> >>>
> >>> to show some statistics I have to count events and present it as a 
> view with the project name and the month as YYYYMM starting with 
> startdate of the projects.
> >>>
> >>> My problem is that there probaply arent any events in a month but 
> I still need this line in the output.
> >>> So somehow I need to have a select that generates:
> >>>
> >>> project 7,201211
> >>> project 7,201212
> >>> project 7,201301
> >>>
> >>> It'd be utterly cool to get this for every project in the projects 
> table with one select.
> >>>
> >>> Is there hope?
> >>>
> >>>
> >>> --
> >>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >>> To make changes to your subscription:
> >>> http://www.postgresql.org/mailpref/pgsql-sql
> >>
> >>
> >> --
> >> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >> To make changes to your subscription:
> >> http://www.postgresql.org/mailpref/pgsql-sql
>
>
>
> -- 
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

*  Re: [SQL] need some magic with generate_series()
@ 2013-01-23 01:37  =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>
  0 siblings, 0 replies; 8+ messages in thread

From: Alexander Gataric @ 2013-01-23 01:37 UTC (permalink / raw)
  To: Andreas <maps.on@gmx.net>; +Cc: Filip Rembiałkowski <plk.zuber@gmail.com>; jan zimmek <jan.zimmek@web.de>; pgsql-sql

Create a CTE with the project code and starting month of the project. Left join to month series CTE.

Sent from my smartphone

----- Reply message -----
From: "Andreas" <maps.on@gmx.net>
To: "Alexander Gataric" <gataric@usa.net>
Cc: "Filip Rembiałkowski" <plk.zuber@gmail.com>, "jan zimmek" <jan.zimmek@web.de>, <pgsql-sql@postgresql.org>
Subject: [SQL] need some magic with generate_series()
Date: Tue, Jan 22, 2013 7:00 pm


The query should work for all projects in the projects table where everyone has a seperate startdate for the series.
For the join I need ( project_id, month_nr ).

When I tried I couldn't figure out how to feed the startdate into Filip's expression without using the function to encapsulate the generate_series().
The folowing doesn't work:

select  project_id,
          (    select  to_char ( m, 'YYYYMM' )::integer
               from    generate_series ( projects.createdate, current_date, '1 month'::interval )   as  m
         )
from    projects
order by 1, 2;



Am 23.01.2013 01:08, schrieb Alexander Gataric:
> I would create a common table expression with the series from Filip > and left join to the table you need to report on.
>
> ----- Reply message -----
> From: "Andreas" <maps.on@gmx.net>
> To: "Filip Rembiałkowski" <plk.zuber@gmail.com>
> Cc: "jan zimmek" <jan.zimmek@web.de>, <pgsql-sql@postgresql.org>
> Subject: [SQL] need some magic with generate_series()
> Date: Tue, Jan 22, 2013 4:49 pm
>
>
> Thanks Filip,
> with your help I came a step further.   :)
>
> Could I do the folowing without using a function?
>
>
> CREATE OR REPLACE FUNCTION month_series ( date )
>  RETURNS table ( monthnr integer )
> AS
> $BODY$
>
>    select  to_char ( m, 'YYYYMM' )::integer
>    from    generate_series ( $1, current_date, '1 month'::interval )   > as  m
>
> $BODY$ LANGUAGE sql STABLE;
>
>
> select  project_id, month_series ( createdate )
> from    projects
> order by 1, 2;
>
>
>
> Am 22.01.2013 22:52, schrieb Filip Rembiałkowski:
> > or even
> >
> > select m from generate_series( '20121101'::date, '20130101'::date, '1
> > month'::interval) m;
> >
> >
> >
> > On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
> >> hi andreas,
> >>
> >> this might give you an idea how to generate series of dates (or > other datatypes):
> >>
> >> select g, (current_date + (g||' month')::interval)::date from > generate_series(1,12) g;
> >>
> >> regards
> >> jan
> >>
> >> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
> >>
> >>> Hi
> >>> I need a series of month numbers like  201212, 201301 YYYYMM to > join other sources against it.
> >>>
> >>> I've got a table that describes projects:
> >>> projects ( id INT, project TEXT, startdate DATE )
> >>>
> >>> and some others that log events
> >>> events( project_id INT, createdate DATE, ...)
> >>>
> >>> to show some statistics I have to count events and present it as a > view with the project name and the month as YYYYMM starting with > startdate of the projects.
> >>>
> >>> My problem is that there probaply arent any events in a month but > I still need this line in the output.
> >>> So somehow I need to have a select that generates:
> >>>
> >>> project 7,201211
> >>> project 7,201212
> >>> project 7,201301
> >>>
> >>> It'd be utterly cool to get this for every project in the projects > table with one select.
> >>>
> >>> Is there hope?
> >>>
> >>>
> >>> --
> >>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >>> To make changes to your subscription:
> >>> http://www.postgresql.org/mailpref/pgsql-sql
> >>
> >>
> >> --
> >> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >> To make changes to your subscription:
> >> http://www.postgresql.org/mailpref/pgsql-sql
>
>
>
> -- > Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Re: [SQL] need some magic with generate_series()
@ 2013-01-23 12:11  Andreas <maps.on@gmx.net>
  parent: =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>
  1 sibling, 0 replies; 8+ messages in thread

From: Andreas @ 2013-01-23 12:11 UTC (permalink / raw)
  To: Alexander Gataric <gataric@usa.net>; +Cc: Filip Rembiałkowski <plk.zuber@gmail.com>; pgsql-sql

I'm sorry to prove that daft.  :(

generate_series needs the startdate of every project to generate the 
specific list of monthnumbers for every project.
To join against this the list needs to have a column with the project_id.

So I get something like this but still I cant reference the columns of 
the projects within the query that generates the series.


with projectstart ( project_id, startdate )
as
     (
         select  project_id, startdate
         from    projects
     )

select  project_id, m
from    projectstart    as  p
     left join   (
                     select  p.project_id, to_char ( m, 'YYYYMM' )::integer
                     from    generate_series ( p.startdate, 
current_date, '1 month'::interval ) as m
                 )       as  x
     using ( project_id );




Am 23.01.2013 01:08, schrieb Alexander Gataric:
> I would create a common table expression with the series from Filip 
> and left join to the table you need to report on.
>
> Sent from my smartphone
>
> ----- Reply message -----
> From: "Andreas" <maps.on@gmx.net>
> To: "Filip Rembiałkowski" <plk.zuber@gmail.com>
> Cc: "jan zimmek" <jan.zimmek@web.de>, <pgsql-sql@postgresql.org>
> Subject: [SQL] need some magic with generate_series()
> Date: Tue, Jan 22, 2013 4:49 pm
>
>
> Thanks Filip,
> with your help I came a step further.   :)
>
> Could I do the folowing without using a function?
>
>
> CREATE OR REPLACE FUNCTION month_series ( date )
>  RETURNS table ( monthnr integer )
> AS
> $BODY$
>
>    select  to_char ( m, 'YYYYMM' )::integer
>    from    generate_series ( $1, current_date, '1 month'::interval )   
> as  m
>
> $BODY$ LANGUAGE sql STABLE;
>
>
> select  project_id, month_series ( createdate )
> from    projects
> order by 1, 2;
>
>
>
> Am 22.01.2013 22:52, schrieb Filip Rembiałkowski:
> > or even
> >
> > select m from generate_series( '20121101'::date, '20130101'::date, '1
> > month'::interval) m;
> >
> >
> >
> > On Tue, Jan 22, 2013 at 3:49 PM, jan zimmek <jan.zimmek@web.de> wrote:
> >> hi andreas,
> >>
> >> this might give you an idea how to generate series of dates (or 
> other datatypes):
> >>
> >> select g, (current_date + (g||' month')::interval)::date from 
> generate_series(1,12) g;
> >>
> >> regards
> >> jan
> >>
> >> Am 22.01.2013 um 22:41 schrieb Andreas <maps.on@gmx.net>:
> >>
> >>> Hi
> >>> I need a series of month numbers like  201212, 201301 YYYYMM to 
> join other sources against it.
> >>>
> >>> I've got a table that describes projects:
> >>> projects ( id INT, project TEXT, startdate DATE )
> >>>
> >>> and some others that log events
> >>> events( project_id INT, createdate DATE, ...)
> >>>
> >>> to show some statistics I have to count events and present it as a 
> view with the project name and the month as YYYYMM starting with 
> startdate of the projects.
> >>>
> >>> My problem is that there probaply arent any events in a month but 
> I still need this line in the output.
> >>> So somehow I need to have a select that generates:
> >>>
> >>> project 7,201211
> >>> project 7,201212
> >>> project 7,201301
> >>>
> >>> It'd be utterly cool to get this for every project in the projects 
> table with one select.
> >>>
> >>> Is there hope?
> >>>
> >>>
> >>> --
> >>> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >>> To make changes to your subscription:
> >>> http://www.postgresql.org/mailpref/pgsql-sql
> >>
> >>
> >> --
> >> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> >> To make changes to your subscription:
> >> http://www.postgresql.org/mailpref/pgsql-sql
>
>
>
> -- 
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql



-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2013-01-23 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 21:41 need some magic with generate_series() Andreas <maps.on@gmx.net>
2013-01-22 21:49 ` jan zimmek <jan.zimmek@web.de>
2013-01-22 21:52   ` Filip Rembiałkowski <plk.zuber@gmail.com>
2013-01-22 22:49     ` Andreas <maps.on@gmx.net>
2013-01-23 00:08  Re: [SQL] need some magic with generate_series() =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>
2013-01-23 01:00 ` Andreas <maps.on@gmx.net>
2013-01-23 12:11 ` Andreas <maps.on@gmx.net>
2013-01-23 01:37  Re: [SQL] need some magic with generate_series() =?utf-8?B?QWxleGFuZGVyIEdhdGFyaWM=?= <gataric@usa.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox