This would be easy to adapt to - Postgres relation files always consist of a series of 8KiB blocks/pages. That said, it would be great if I could adapt pg_hexedit to a hex editor that had some kind of "best of both worlds" support for tags - tags that can be generated lazily and on-demand, when a portion of the file needs to be drawn or redrawn. Writing a C program that uses the struct definitions from the server itself makes the complexity quite manageable - the tool is basically feature complete, even though I haven't spent a huge amount of time on it. But even if it did I might not want to use them the on-disk format of PostgreSQL is much more complicated than most file formats, and isn't supposed to be consumed by third party tools. WxHe圎ditor doesn't support declarative tags. I'm generating huge XML files, which is slow, but there are simple workarounds to get acceptable performance. I procedurally generate a description of each file in a shell script, and then open the file in wxHe圎ditor. What I'm doing is pretty grotty, but works surprisingly well in practice. I understand why you favor a declarative template format for describing files with tags - that probably scales really nicely. I've invested quite a lot of effort in it, and it would be nice to have support for multiple hex editors. I am the author of a tool that generates wxHe圎ditor tags and annotations for Postgres relation files - pg_hexedit:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |