From robson-martins@bol.com.br Tue Jul 2 20:56:08 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id EA0D44758FB for ; Tue, 2 Jul 2002 16:56:08 -0400 (EDT) Mailbox-Line: From robson-martins@bol.com.br Tue Jul 2 16:56:08 2002 Received: from seki.bol.com.br (seki.bol.com.br [200.221.24.26]) by postgresql.org (Postfix) with ESMTP id 80A26475484 for ; Tue, 2 Jul 2002 16:56:06 -0400 (EDT) Received: from crandrade (200.221.24.192) by seki.bol.com.br (5.1.071) id 3D1763E2001F7102 for pgsql-admin@postgresql.org; Tue, 2 Jul 2002 17:55:42 -0300 Message-ID: <001201c2220a$ec6ed8e0$543c620a@catnet.com.br> From: "Robson" To: Subject: Help: URGENT! Date: Tue, 2 Jul 2002 17:56:22 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C221F1.C6D555A0" X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Sender-IP: 200.245.222.20 X-Spam-Status: No, hits=0.0 required=5.0 tests=X_MSMAIL_PRIORITY_HIGH,FROM_NAME_NO_SPACES,X_PRIORITY_HIGH, PLING version=2.30 X-Spam-Level: X-Archive-Number: 200207/35 X-Sequence-Number: 4721 This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C221F1.C6D555A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Exist field type date, question: =20=20=20=20 With format date 'dd/mm/yyyy' ? =20=20=20=20 Regards, ------=_NextPart_000_000F_01C221F1.C6D555A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
    Hello,
 
    Exist field type date,= =20 question:
   
    With format date 'dd/mm= /yyyy'=20 ?
 
   
 
 
    Regards,
 
 
------=_NextPart_000_000F_01C221F1.C6D555A0-- From nils@naqua.se Wed Jul 3 08:44:44 2002 Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id E881B4760FB for ; Wed, 3 Jul 2002 04:44:44 -0400 (EDT) Mailbox-Line: From nils@naqua.se Wed Jul 3 04:44:44 2002 Received: from burk.hax.se (burk.Hax.SE [192.176.10.194]) by postgresql.org (Postfix) with SMTP id EFCDD475F16 for ; Wed, 3 Jul 2002 03:53:01 -0400 (EDT) Received: (qmail 13785 invoked by uid 1002); 3 Jul 2002 07:52:52 -0000 Date: Wed, 3 Jul 2002 09:52:51 +0200 From: =?iso-8859-1?Q?Nils_H=F6glund?= To: Robson Cc: pgsql-admin@postgresql.org Subject: Re: Help: URGENT! Message-ID: <20020703095251.R30034@Burk.hax.SE> References: <001201c2220a$ec6ed8e0$543c620a@catnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <001201c2220a$ec6ed8e0$543c620a@catnet.com.br>; from robson-martins@bol.com.br on Tue, Jul 02, 2002 at 05:56:22PM -0300 X-Spam-Status: No, hits=-5.2 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,PLING version=2.30 X-Spam-Level: X-Archive-Number: 200207/40 X-Sequence-Number: 4726 > Exist field type date, question: > > With format date 'dd/mm/yyyy' ? I'm not sure what you wan't to do. To convert and format dates in postgresql you can use to_date()- or to_char()-functions. http://www.postgresql.org/idocs/index.php?functions-formatting.html -- /Nils Höglund, Naqua KB E-mail: nils@naqua.se Web: http://www.naqua.se/ Home Phone: +46 (0)18 30 09 19 Cellular Phone: +46 (0)709 91 97 65 Address: Nya Valsätrav. 26 B SE-756 46 Uppsala, Sweden From c_r_mishra@yahoo.co.in Thu Dec 11 05:20:24 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F07C2D1B4B8 for ; Thu, 11 Dec 2003 05:20:24 +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 76724-10 for ; Thu, 11 Dec 2003 01:19:53 -0400 (AST) Received: from web8002.mail.in.yahoo.com (web8002.mail.in.yahoo.com [203.199.70.20]) by svr1.postgresql.org (Postfix) with SMTP id 192EDD1B432 for ; Thu, 11 Dec 2003 01:19:52 -0400 (AST) Message-ID: <20031211051950.38379.qmail@web8002.mail.in.yahoo.com> Received: from [193.220.224.8] by web8002.mail.in.yahoo.com via HTTP; Thu, 11 Dec 2003 05:19:50 GMT Date: Thu, 11 Dec 2003 05:19:50 +0000 (GMT) From: =?iso-8859-1?q?Chitta=20Ranjan=20Mishra?= Subject: Help---- Urgent To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.9 tagged_above=0.0 required=5.0 tests=DEAR_SOMETHING X-Spam-Level: * X-Archive-Number: 200312/150 X-Sequence-Number: 11658 Dear Sir, I wnat to alter the size of one of the column of a table. How to do this in Postgres ? Plz help me. It's very urgent... I tried with the following syntax : but it failed.... alter table tablename modify(coumnname varchar(25)); it's very urgnet...plz reply soon.. Thanking you, Regds C.R.Mishra ________________________________________________________________________ Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com From contact@ar-sd.net Thu Dec 11 15:25:23 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 19422D1DEF6 for ; Thu, 11 Dec 2003 15:25:23 +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 57464-09 for ; Thu, 11 Dec 2003 11:24:56 -0400 (AST) Received: from ar-sd.net (unknown [81.196.32.112]) by svr1.postgresql.org (Postfix) with ESMTP id B39F9D1DEE2 for ; Thu, 11 Dec 2003 11:24:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ar-sd.net (Postfix) with ESMTP id 86AC61C438; Thu, 11 Dec 2003 17:29:04 +0200 (EET) Received: from andyy (unknown [192.168.0.11]) by ar-sd.net (Postfix) with ESMTP id 65806173C7; Thu, 11 Dec 2003 17:29:04 +0200 (EET) Message-ID: <003201c3bffa$d3c35930$0b00a8c0@andyy> From: "Contact" To: "Chitta Ranjan Mishra" , References: <20031211051950.38379.qmail@web8002.mail.in.yahoo.com> Subject: Re: Help---- Urgent Date: Thu, 11 Dec 2003 17:24:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.5 tagged_above=0.0 required=5.0 tests=DEAR_SOMETHING, QUOTED_EMAIL_TEXT, REFERENCES X-Spam-Level: * X-Archive-Number: 200312/174 X-Sequence-Number: 11682 Create a new column alter add column varchar(25); Then copy the old column into the new column: update set = ; Drop the last column: alter drop column ; Rename the column: alter rename column to ; Take care for INDEXES if there are any. This should do it. Best regards. ----- Original Message ----- From: "Chitta Ranjan Mishra" To: Sent: Thursday, December 11, 2003 7:19 AM Subject: [ADMIN] Help---- Urgent > Dear Sir, > I wnat to alter the size of one of the column of a > table. How to do this in Postgres ? Plz help me. > It's very urgent... > > I tried with the following syntax : > but it failed.... > > alter table tablename modify(coumnname varchar(25)); > > it's very urgnet...plz reply soon.. > > Thanking you, > Regds > C.R.Mishra > > > > > ________________________________________________________________________ > Yahoo! India Mobile: Download the latest polyphonic ringtones. > Go to http://in.mobile.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org From klodoma@ar-sd.net Thu Dec 11 15:43:59 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 41F1ED1DF47 for ; Thu, 11 Dec 2003 15:43:59 +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 61699-01 for ; Thu, 11 Dec 2003 11:43:32 -0400 (AST) Received: from ar-sd.net (unknown [81.196.32.112]) by svr1.postgresql.org (Postfix) with ESMTP id 4ADF1D1DF30 for ; Thu, 11 Dec 2003 11:43:28 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ar-sd.net (Postfix) with ESMTP id B6CCD1CFD8; Thu, 11 Dec 2003 17:47:51 +0200 (EET) Received: from andyy (unknown [192.168.0.11]) by ar-sd.net (Postfix) with SMTP id 8CC25173C7; Thu, 11 Dec 2003 17:47:51 +0200 (EET) Message-ID: <005a01c3bffd$73acc740$0b00a8c0@andyy> From: "Andrei Bintintan" To: "Chitta Ranjan Mishra" , References: <20031211051950.38379.qmail@web8002.mail.in.yahoo.com> Subject: Re: Help---- Urgent Date: Thu, 11 Dec 2003 17:42:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.5 tagged_above=0.0 required=5.0 tests=DEAR_SOMETHING, QUOTED_EMAIL_TEXT, REFERENCES X-Spam-Level: * X-Archive-Number: 200312/155 X-Sequence-Number: 11663 Create a new column alter add column varchar(25); Then copy the old column into the new column: update set = ; Drop the last column: alter drop column ; Rename the column: alter rename column to ; Take care for INDEXES if there are any. This should do it. Best regards. ----- Original Message ----- From: "Chitta Ranjan Mishra" To: Sent: Thursday, December 11, 2003 7:19 AM Subject: [ADMIN] Help---- Urgent > Dear Sir, > I wnat to alter the size of one of the column of a > table. How to do this in Postgres ? Plz help me. > It's very urgent... > > I tried with the following syntax : > but it failed.... > > alter table tablename modify(coumnname varchar(25)); > > it's very urgnet...plz reply soon.. > > Thanking you, > Regds > C.R.Mishra > > > > > ________________________________________________________________________ > Yahoo! India Mobile: Download the latest polyphonic ringtones. > Go to http://in.mobile.yahoo.com > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org