X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 76BCFD1B9BC for ; Fri, 27 Feb 2004 16:54:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 36666-05 for ; Fri, 27 Feb 2004 12:54:19 -0400 (AST) Received: from mail-s03.websys.aol.com (mail-s03.websys.aol.com [64.12.180.167]) by svr1.postgresql.org (Postfix) with ESMTP id E84D6D1B9A8 for ; Fri, 27 Feb 2004 12:54:17 -0400 (AST) Received: from inf-s24.websys.aol.com (inf-s24.websys.aol.com [172.20.116.86]) by mail-s03.websys.aol.com (8.12.10/8.12.9) with ESMTP id i1RGsGlX023792 for ; Fri, 27 Feb 2004 11:54:17 -0500 (EST) Received: from aol.net (dhcp178-176-156.office.aol.com [10.178.176.156]) by inf-s24.websys.aol.com (8.12.10/8.12.9) with ESMTP id i1RGsB9c011793 for ; Fri, 27 Feb 2004 11:54:11 -0500 (EST) Message-ID: <403F762B.20002@aol.net> Date: Fri, 27 Feb 2004 11:54:04 -0500 From: Brian Knox User-Agent: Mozilla Thunderbird 0.5 (X11/20040208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Convert INT to INTERVAL? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/373 X-Sequence-Number: 17063 Is it possible within pl/pgsql, to convert an integer to an interval in months? IE, if num_months is an INT set to 48, can it be converted to an interval? Thanks, Brian