Skip site navigation (1) Skip section navigation (2)

Removing Comments in pg_dump

From: "V i s h a l Kashyap (at) [Sai Hertz And Control Systems]" <sank89(at)sancharnet(dot)in>
To: pgsql-novice(at)postgresql(dot)org
Subject: Removing Comments in pg_dump
Date: 2004-03-11 14:09:09
Message-ID: 40507305.70101@sancharnet.in (view raw or flat)
Thread:
Lists: pgsql-novice
Dear all,

Normally when a pg_dump is done on a database schema it inserts some 
comments as follows

<code>
--
-- Definition for function my_func_ay (OID = 4446535) :
--
</code>

How can these type of comments be avoided or not included  in the dump file.

Using:
PostgreSQL 7.3.4






-- 
Best Regards,
Vishal Kashyap
Director / Lead Developer,
Sai Hertz And Control Systems Pvt Ltd,
http://saihertz.rediffblogs.com
Jabber IM: vishalkashyap(at)jabber(dot)org
ICQ :      264360076
Yahoo  IM: mailforvishal(at)yahoo(dot)com
-----------------------------------------------
You yourself, as much as anybody in the entire
universe, deserve your love and affection.
- Buddha
---------------
pgsql=# select marital_status from vishals_life;

marital_status
------------------
Single not looking

1 Row(s) affected

                    ___
                   //\\\
                  ( 0_0 )
----------------o0o-----o0o---------------------


Responses

pgsql-novice by date

Next:From: jtlappDate: 2004-03-11 14:20:38
Subject: Re: installing postgresql
Previous:From: joseph speigleDate: 2004-03-11 05:35:10
Subject: Re: installing postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group