PGSQL2SQLITE(1)

πŸ’– PGSQL2SQLITE(1) πŸ’–

okay bestie, so like β€” this is a General Commands Manual page for the pgsql2sqlite girlies. she's a command-line queen and she's about to change your whole data pipeline. let's get into it ✨


🌸 NAME 🌸

pgsql2sqlite β€” the PostgreSQL/PostGIS to SQLite3 converter. she converts, she translates, she serves πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

pgsql2sqlite [options]

that's it. that's the whole vibe. you just run her with some options and she does the thing πŸ¦‹


✨ DESCRIPTION ✨

so pgsql2sqlite is a program that converts data from a PostGIS database to SQLite. like, it takes your whole PostGIS situation and moves it over to SQLite. main character energy honestly πŸ”₯


πŸ’… OPTIONS πŸ’…

bestie, here's the full menu. no skips, no skimming, we're doing all of them 🫢

  • -?, --help β€” shows you a lil summary of the options. your little "wait what do I do" safety net πŸ’–
  • -h, --host β€” lets you specify a connection to a database on a machine that is not the default one. yes -h is host here, not help, don't get got 😭 (for help you want -?, she's right up there)
  • -p, --port β€” lets you specify a database port other than the default one. she contains multitudes, she can connect anywhere 🌈
  • -d, --dbname β€” the PostgreSQL database name. tell her which database, she can't read your mind (she can read your tables tho) πŸ‘‘
  • -u, --user β€” connect to the database as the specified user. you, but credentialed ✨
  • -P, --password β€” connect to the database with the specified password. capital P, lowercase feelings πŸ’œ
  • -q, --query β€” name of the table/or query to pass to postmaster. yes the original literally says "table/or query", we don't gatekeep, we report it exactly 🌸
  • -t, --table β€” name of the output table to create. default is: the table in the query. so if you don't say anything, she just reuses what you gave her πŸŽ€
  • -f, --file β€” use this one to specify the name of the file to create. give her a filename, she'll give you a file πŸ¦‹
no cap, that's every single option. nothing got left out, nothing got merged, we ate and left no crumbs πŸ“

🌟 SEE YA 🌟

that's the whole page bestie!! this one shipped as part of the General Commands Manual, dated January 11, 2007 β€” so she's an elder icon, lowkey vintage, and she still slays πŸ’– go convert something, ily, bye!! 🧚✨

πŸ“¦ where this page comes from