{"id":20644020,"url":"https://github.com/adjust/pg-mvtbl","last_synced_at":"2026-04-02T02:44:23.196Z","repository":{"id":48856168,"uuid":"117371622","full_name":"adjust/pg-mvtbl","owner":"adjust","description":"A postgres Extension to easily move tables around tablespaces","archived":false,"fork":false,"pushed_at":"2025-06-26T08:59:19.000Z","size":28,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-06-26T09:44:15.761Z","etag":null,"topics":["adjust-pg-extension"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjust.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-13T19:22:26.000Z","updated_at":"2025-06-26T08:59:24.000Z","dependencies_parsed_at":"2022-09-01T03:02:08.930Z","dependency_job_id":"f493efc1-5bb6-46c5-ad67-7b86401c5aa8","html_url":"https://github.com/adjust/pg-mvtbl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adjust/pg-mvtbl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-mvtbl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-mvtbl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-mvtbl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-mvtbl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjust","download_url":"https://codeload.github.com/adjust/pg-mvtbl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjust%2Fpg-mvtbl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094423,"owners_count":23257962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adjust-pg-extension"],"created_at":"2024-11-16T16:14:34.430Z","updated_at":"2025-10-24T02:02:48.211Z","avatar_url":"https://github.com/adjust.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/adjust/pg-mvtbl/workflows/CI/badge.svg)\n\n# mvtbl\n\nA postgres Extension to easily move tables around tablespaces\n\nThe function mvtbl(tablname, tablespace ) moves a table `tablname` \nalong with all indexes to the tablespace `tablespace` and returns\nthe moved data size in bytes.\n\n\n### Usage\n\nsee test/expected/mvtbl.out for examples\n\n```SQL\nSELECT pg_size_pretty(mvtbl('test','mvtbl_test_tblspace'));\n pg_size_pretty \n----------------\n 123 MB\n(1 row)\n\nSELECT pg_size_pretty(mvtbl('public.test','pg_default'));\n pg_size_pretty \n----------------\n 123 MB\n(1 row)\n```\n\n### Installation\n\n```shell\n$ make install\n```\n\n```SQL\nCREATE EXTENSION mvtbl;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg-mvtbl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjust%2Fpg-mvtbl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjust%2Fpg-mvtbl/lists"}