Search Postgresql Archives

Re: Naming conventions for column names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


It seems people worrying about failure of client side code after changes in column names.

Melvin also mention that just change in one column was broken many things.


>
> My intension is to improve naming conventions and increase naming string
> where naming conventions are correct but make shorten.

 
Sure. It make sense.
Definitely we can do this. Specially patch reviewers and committers need to take care of this. (I am not ordering to anyone here, just putting my thoughts)

 
I think the proper amount of effort to rename existing system catalog
columns is zero.

Can you clarify how efforts will be zero. Is there any script in place or automatic way of doing this?



 
Also, I think it's pretty difficult to change column names on views that
have already been released.  The compatibility break for existing tools
is just too large.


It is correct. But then I think we can do below things:

1. Instead of pushing all changes at once , we can group them and push them slowly in each major version release.
2. We need to decide weather we really need those changes in old versions?
3. Notify or highlight these changes in release notes because this can break some existing tools and user code.
4. As Alvaro suggested, when developer working on any major code change, He should give proper naming conventions to system catalog/view column names in that area.



If It is impossible or not required to do this, then we can stop discussion with 4th point made by Alvaro as conclusion of this discussion.


Please committers give their final view on this.

--

Thanks and Regards,
Sachin Kotwal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux