This fixes pg_dump so that when using the '-O' no owners option it does not print the owner name in the object comment.

Why is that a good idea?


At the moment I want to dump sample databases for a project. I don't want my name or username appearing anywhere in them. I dump without owners or privileges since they're irrelevant and will refer to users that just don't exist.

So, at the moment I need to run the dumps through sed to remove the reference to the owner usernames in the dumps, otherwise everyone can see half the users in our database...

Chris


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to