{"id":28556477,"url":"https://github.com/kmoppel/psql_magic","last_synced_at":"2026-02-03T20:09:07.498Z","repository":{"id":22844236,"uuid":"26191531","full_name":"kmoppel/psql_magic","owner":"kmoppel","description":"Conventions based \"auto-complete\" for \"psql\" (PostgreSQL command line client) for faster data-skimming","archived":false,"fork":false,"pushed_at":"2019-05-03T21:05:59.000Z","size":16,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T17:43:51.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/kmoppel.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}},"created_at":"2014-11-04T22:23:51.000Z","updated_at":"2019-05-03T21:06:01.000Z","dependencies_parsed_at":"2022-08-05T19:18:08.557Z","dependency_job_id":null,"html_url":"https://github.com/kmoppel/psql_magic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kmoppel/psql_magic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmoppel%2Fpsql_magic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmoppel%2Fpsql_magic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmoppel%2Fpsql_magic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmoppel%2Fpsql_magic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmoppel","download_url":"https://codeload.github.com/kmoppel/psql_magic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmoppel%2Fpsql_magic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29055710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-06-10T06:30:41.632Z","updated_at":"2026-02-03T20:09:07.478Z","avatar_url":"https://github.com/kmoppel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"psql_magic\n==========\n\nConventions based \"auto-complete\" for \"psql\" (PostgreSQL command line client) for faster data-skimming.\n\nMeant to be compiled against Postgres 9.5 currently (9.3 and 9.4 will work with commit 688b899ccd2a2ebce7a13a82c5ad6949ebd6e39d)\n\nUsage\n==========\n\n\n```\npostgres=# \\*\n\npsql_magic usage 1: \"\\* table_pattern [o|od|oa|oc|oca|ocd|om|oma|omd] [lX]\"\n\n\ttable_pattern - \"*\" can be used for wildcards. full table names (with schema) will be searched\n\t[o|od|oa|oc|oca|ocd|om|oma|omd] - optional order by clause\n\t\twhere:\n\t\t[o]-\u003e order by PK. sort direction determined by .psqlrc variable psql_magic_default_order_by_direction\n\t\t[c|m] -\u003e [created|modified]. column patterns defined by psql_magic_created_column_patterns variable \n\t\t[a|d] -\u003e [asc|desc]. column patterns defined by psql_magic_created_column_patterns variable \n\t[lX] - optional \"limit X\" clause. if not specified default \"limit\" defined by psql_magic_default_row_limit wil be used\n\npsql_magic usage 2: \"\\* table_pattern w[here] column_pattern column_value\"\n\n\ttable_pattern - \"*\" can be used for wildcards. full table names (with schema) will be searched\n\tcolumn_pattern - \"*\" can be used for wildcards\n\tcolumn_value - quotes will be added automatically\n\n```\n\nConfiguration\n=============\n\nFollowing variables are looked for from the `.psqlrc` config file:\n\n```\n\\set PSQL_MAGIC_DEFAULT_ROW_LIMIT 2\n\\set PSQL_MAGIC_DEFAULT_ORDER_BY_DIRECTION 1\n\\set PSQL_MAGIC_CREATED_COLUMN_PATTERNS created,timestamp,time,mktime,mtime\n\\set PSQL_MAGIC_MODIFIED_COLUMN_PATTERNS modified,updated,timestamp,mtime\n\\set PSQL_MAGIC_USE_1ST_ON_DUPLICATE 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmoppel%2Fpsql_magic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmoppel%2Fpsql_magic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmoppel%2Fpsql_magic/lists"}